Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Safari Version 3.1.2 on Mac OS X Leopard, does not seem to render line-height correctly? Anyone tested with Safari?
Firefox and IE7 are OK.
The height line is way too much, it's like triple-space.
How do I go about coding this correctly in the CSS?
Comments
Comment #1
SteveK CreditAttribution: SteveK commentedHey Jessica,
I noticed the line-height change for h2's, h3's, etc this must be an issue with Safari not applying
* { margin: 0; padding: 0; }
. To eliminate this, you can apply a margin: 0 to the h2, h3, h4, etc tags. Let me know if this is a totally different issue. And please supply me with a URL as well.Steve
Comment #2
jessicakoh CreditAttribution: jessicakoh commentedThanks for the reply.
It did solve the headers spacing problem. However, the teaser part is not. I tried to put "margin: 0; padding: 0;" for ".content"
No effect.
Thank you for your time.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI haven't been able to reproduce the bug on my Safari, both teaser look the same, however, instead of changing the margin, you can try the line height like this :
.node p {
line-height:0.9em; (you can adjust this value)
}
hope this helps
Comment #4
jessicakoh CreditAttribution: jessicakoh commentedThat works for me.
This theme need to be further tested in Safari. :)
Comment #5
SteveK CreditAttribution: SteveK commentedfixed by creator.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.