/    Sign up×
Community /Pin to ProfileBookmark

text-transform problem in ie5

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.

[CODE]
p {
text-transform:uppercase;
font:700 140% “Trebuchet MS”, verdana, sans-serif;
}
[/CODE]

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.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@toicontienApr 05.2005 — I have no clue why it would do that, other than it's just IE. :rolleyes:
Copy linkTweet thisAlerts:
@richiebmanauthorApr 05.2005 — Yeah, that's the answer I was gonna go with too. ?

I did fix it by declaring it in my IE5 hack separate stylesheet thusly:
[CODE]
html p {
text-transform:uppercase;
}
[/CODE]
×

Success!

Help @richiebman spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...