7 replies [Last post]
m4n4o
Offline
Regular
Last seen: 14 years 50 weeks ago
Joined: 2006-03-21
Posts: 11
Points: 0

Hi all

Is there any way to make ie display the pseudo-class :first-letter?

[/code]

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 8 years 23 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

:first-letter on IE

Did you try using it?

IE has supported :first-letter since 5.5/Win, 5/Mac.

Example.

m4n4o
Offline
Regular
Last seen: 14 years 50 weeks ago
Joined: 2006-03-21
Posts: 11
Points: 0

:first-letter on IE

Oh my bad. For IE i just use the preview of Stylemaster, i guess my version is too old.

Thanks

m4n4o
Offline
Regular
Last seen: 14 years 50 weeks ago
Joined: 2006-03-21
Posts: 11
Points: 0

:first-letter on IE

Weird... The :fisrt letter doesn't work on a Title under IE6. The over tags works
Anyone have an idea, how to fix this?

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 8 years 23 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

:first-letter on IE

What is a title?

fyi - it works on the six <Hx> elements.

m4n4o
Offline
Regular
Last seen: 14 years 50 weeks ago
Joined: 2006-03-21
Posts: 11
Points: 0

:first-letter on IE

Ok thanks i found the problem. For some reason IE6 doesn't want to display first-letter on a <Hx> with no font-size value (even if the parent has one)

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 8 years 23 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

:first-letter on IE

ahhh. Good to know. Chalk up another one for programming excellence. I wonder if its fixed in IE7 :roll:

IChao
Offline
Enthusiast
Göttingen, Germany
Last seen: 11 years 51 weeks ago
Göttingen, Germany
Timezone: GMT+2
Joined: 2005-08-16
Posts: 148
Points: 0

:first-letter on IE

Can you post some lines of code? I cannot reproduce it.