...

View Full Version : IE Vs. FF <br> tag difference



richieopera
07-01-2007, 09:41 PM
Hello everyone! This is my first post on this forum and I hope to start posting here a lot more with help and questions!

Here's my problem;

i've used the <br /> function to create gaps between different sections in the navigationa bar on the left hand of the site.

Unfortunately, these gaps display differently between Internet Explorer and Firefox and I really can't work out what the issue is.

The website can be found here (http://www.chandrikathomas.co.uk)

Any help is greatly appreciated!

Thanks,

CaptainB
07-01-2007, 09:50 PM
Hi and welcome - enjoy your stay!

I don't know if it would be the solution, but maybe you could add top- and bottom margins to your current_page_item (If it's the right one) css?

Maybe like this:


.current_page_item {
font-weight: bold;
margin-top:Xpx;
margin-bottom:Xpx;
}

richieopera
07-01-2007, 10:00 PM
thanks.
that won't work as the text is using the .body style. I'm just throwing the </br> in to create a gap.

_Aerospace_Eng_
07-01-2007, 10:59 PM
Using the <br /> to create a gap is bad practice. You should use a bottom margin on the lis.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum