News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How/where to remove whitespace?

Started by ayok, April 01, 2012, 18:33:43 PM

Previous topic - Next topic

ayok

Hi,
I'm working now with virtuemart 2.0 and got an annoying problem.

I have that whitespaces top inside content div. I only get this when I open page with component products and categories, not normal joomla! page.. So i think it's from virtuemart.
Does anyone has the solution to get rid of this whitespace?

thank you

rickyvcp

Into your template css file you can edit this. =)

ayok

How is that? I've tried but no luck.
I came up with javascript
var cleanhtml = jQuery.trim(jQuery("#content").html());
jQuery("#content").html(cleanhtml);


and it's solved.

rickyvcp

the file is in, template/nameofyourtemplate/css/styles.css or template.css

ayok

Hi..
My trick doesn't work on ie 8. Instead of whitespace there are kind a strange chars like ??..
It's not CSS problem.. it's not padding or margin causing that, but whitespaces.. I don't where it's come from.. any idea how to remove it?