![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
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. An URL with the very same page broken by Yahoo! insertions so being dropped into quirk mode: underlines are just fine: http://www.geocities.com/schools_ring/tmp/inbox.html The page of question (no URL, sorry, cannot disclose the customer): the underlines are hot visible on Firefox. IE, Safari and Opera are fine in either case: |
#2
| |||
| |||
|
|
CSS 2.1 16.3.1 text-decoration: When specified on an inline element, it affects all the boxes generated by that element; for all other elements, the decorations are propagated to an anonymous inline box that wraps all the in-flow inline children of the element, and to any block-level [p. 117] in-flow descendants. It is not, however, further propagated to floating and absolutely positioned descendants, nor to the contents of 'inline-table' and 'inline-block' descendants. You could take that as meaning that setting text-decoration on any inline-block is not propagated at all, making Firefox right. |
![]() |
| Thread Tools | |
| Display Modes | |
| |