|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS <number> in line-height: what's it spec?
I was working through a CSS example from a book by the spec's authors, and ran into something puzzling.
There's some code setting line-height to '1.0,' which I assumed till now meant the same as '1em,' but it gives VERY different results in my browsers (IE6/win, N7/win). I've tried wading through the spec at the W3 site, but don't see the explanation so far. Can anyone enlighten me? :|
__________________
Disclaimer: content may have handled during settling. :::::::::::::: regards, viz Last edited by viz : May 28th, 2003 at 09:32 PM. |
|
#2
|
|||
|
|||
|
http://www.w3.org/TR/REC-CSS2/visud...def-line-height
Without seeing any further code, I'm guessing it is IE not properly inheriting line-height. |
|
#3
|
|||
|
|||
|
Don't think so as, like I said, it works almost the same in NS7.
Also, your link is to the same place where I already looked in the spec. Last edited by viz : May 30th, 2003 at 07:53 PM. |
|
#4
|
|||
|
|||
|
*found answer from another source*
|
|
#5
|
|||
|
|||
|
Mind telling us what was wrong?
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS <number> in line-height: what's it spec? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|