Page 1 of 1
Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 3:44 am
by nauticalwebd
Ok, I know firefox is usually the browser to develop css with first then fix it for IE. But I had to show my client this site right away. Anyways, my menu is right now showing properly on Internet explorer but is moved too far to the left in Firefox. Can somebody please help me out on this one quick? Thanks for the help.
www.maryniekamp.com
Hot Rod
Re: Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 3:48 am
by Nullig
Change the margin-left in the .navigation class:
.navigation {
margin-left: 55px;
Nullig
Re: Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 3:55 am
by nauticalwebd
I have done that a few times but when I change it to the current number 54px to keep it centered, it moves it too far to the right in internet explorer. I have a tag somewhere affecting one browser but not the other and i'm not too sure where to find this.
Re: Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 4:04 am
by Nullig
If you add a:
* html .navigation {
margin-left: 27px;
}
with the ie6 styling, that should work.
Nullig
Re: Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 4:08 am
by nauticalwebd
Thank you so much... What does the * html do for the style, i'm not sure that I have ever seen that before.
Re: Quick CSS help for Firefox and IE
Posted: Tue Jun 19, 2007 3:06 pm
by Nullig
IE6 interprets it, but other browsers don't.
Nullig