text-transform problem in ie5

windows

Guest
I've started altering my css to shorthand for the font declaration, as for some reason it was the only one I hadn't condensed. However as I have been doing it I have noticed that ie5 has a problem when text-transform is declared with the same element. For example using the code below means that in ie5 the text isn't transformed into uppercase. And I don't know why.


p {
text-transform:uppercase;
font:700 140% "Trebuchet MS", verdana, sans-serif;
}


But if I whip out the font-size (140%) and declare it separately it renders correctly. Anyone know why this is happening? Apart from the fact that ie is generally useless.I have no clue why it would do that, other than it's just IE. :rolleyes:Yeah, that's the answer I was gonna go with too. :confused:

I did fix it by declaring it in my IE5 hack separate stylesheet thusly:

html p {
text-transform:uppercase;
}
 
Back
Top