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?