CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 28th, 2003, 09:25 PM
viz viz is offline
::::
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 64 viz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
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.

Reply With Quote
  #2  
Old May 28th, 2003, 09:40 PM
jkd jkd is offline
CF sMod
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Maine, USA (a.k.a. Boonies)
Posts: 242 jkd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 43 sec
Reputation Power: 13
Send a message via ICQ to jkd Send a message via AIM to jkd Send a message via Yahoo to jkd
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.

Reply With Quote
  #3  
Old May 28th, 2003, 10:18 PM
viz viz is offline
::::
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 64 viz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
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.

Reply With Quote
  #4  
Old May 30th, 2003, 07:53 PM
viz viz is offline
::::
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 64 viz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
*found answer from another source*

Reply With Quote
  #5  
Old May 30th, 2003, 10:32 PM
Eclipce Eclipce is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2000
Posts: 763 Eclipce User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 41 sec
Reputation Power: 0
Mind telling us what was wrong?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS <number> in line-height: what's it spec?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap