HighDots Forums  

Re: Firefox jams underlines for links

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


Discuss Re: Firefox jams underlines for links in the Cascading Style Sheets forum.



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

Default Re: Firefox jams underlines for links - 03-23-2008 , 12:38 PM






VK wrote:
Quote:
In CSS1Compat mode Firefox doesn't display underlines for my links if
they set to display:-moz-inline-box.

The same styling works fine in BackCompat (quirk) mode, so I guess it
is some W3C box model issue again, but how to fix it? Strangely enough
-moz-box-sizing: border-box; doesn't help here, only explicit drop
into quirk mode by say removing doctype.
OK, I sorted it out. If anyone interested:
Somehow -moz-inline-box kills lining for links completely in
CSS1Compat mode. I was trying different padding/margin/line-height as
I though that the underline/overline was just not having box space to
show up: until I tried line-through and it didn't work neither. So it
is not a CSS problem but some internal engine problem. Rather nasty,
really.

The workaround I found is to use
display: list-item
instead that seems to work. It doesn't fit exactly to my purposes but
better something than nothing. Does anyone know if a bugzilla bug
filed on it?


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.