HighDots Forums  

IE only applying style to first letter of element.

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss IE only applying style to first letter of element. in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Pugh
 
Posts: n/a

Default IE only applying style to first letter of element. - 10-13-2004 , 03:56 AM






I have some styles which IE (Win - tested in 5, 5.5 and 6) is only
applying to the first letter of the element. Basic stuff like
font-weight and font-size applied to a <p> or <hx> element via either a
class selector or a straight element selector.

Searching for this bug has been somewhat fruitless as all I find are
pages talking about the :first-letter pseudo-element.

I'm trying to construct a minimal test case but with little luck so far
(the old conundrum - if I could reproduce it I'd be half to fixing it)
and the pages suffering from this bug would take a lot of work to
remove identifying branding and content.

So has anyone seen anything like this before?

cheers,
Steve (really hating Google Groups, must see about getting proper
Usenet access at work)


Reply With Quote
  #2  
Old   
Steve Pugh
 
Posts: n/a

Default Re: IE only applying style to first letter of element. - 10-13-2004 , 01:13 PM






On 13 Oct 2004 01:56:47 -0700, "Steve Pugh" <steve (AT) pugh (DOT) net> wrote:

Quote:
I have some styles which IE (Win - tested in 5, 5.5 and 6) is only
applying to the first letter of the element. Basic stuff like
font-weight and font-size applied to a <p> or <hx> element via either a
class selector or a straight element selector.
Upon closer inspection it was only <p> elements that were affected.

Quote:
Searching for this bug has been somewhat fruitless as all I find are
pages talking about the :first-letter pseudo-element.
Well, it seems that :first-letter was involved.

See http://steve.pugh.net/test/test85.html for an example of thus bug
and a workaround.

Steve



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.