Hi,
I have a style sheet that works just fine with one small exception. The problem is that when the rule show below is applied by IE it only applies the background colour to the text not to the object it is within. Firefox does exactly what I want and IE will display correctly if I change the padding. This however, throws Firefox out.
CSS
[CODE=css]
.solidBlockMenu p
{
float : left;
padding : 0px 11px;
margin : 0px;
color : #b36a1b;
background : #eff5f3;
text-transform : uppercase;
text-decoration : none;
font-weight : bold;
font-size : 11px;
border-right : 1px solid white;
}
[/CODE]
This code is used on a navigation bar so if the URL of the page matches the URL that was serverd from the database the item is not clickable - thus preventing the user from going where they already are. The background colour serves as a visual clue to this.
I want to be able to change the padding rule 2px 11px for IE only. Is there a way to do this without serving separate style sheets?
I have a style sheet that works just fine with one small exception. The problem is that when the rule show below is applied by IE it only applies the background colour to the text not to the object it is within. Firefox does exactly what I want and IE will display correctly if I change the padding. This however, throws Firefox out.
CSS
[CODE=css]
.solidBlockMenu p
{
float : left;
padding : 0px 11px;
margin : 0px;
color : #b36a1b;
background : #eff5f3;
text-transform : uppercase;
text-decoration : none;
font-weight : bold;
font-size : 11px;
border-right : 1px solid white;
}
[/CODE]
This code is used on a navigation bar so if the URL of the page matches the URL that was serverd from the database the item is not clickable - thus preventing the user from going where they already are. The background colour serves as a visual clue to this.
I want to be able to change the padding rule 2px 11px for IE only. Is there a way to do this without serving separate style sheets?
Comment