ThemeShaper Forums » Thematic

Firefox interpreting CSS differently than Safari?

(5 posts)
  • Started 11 years ago by jhorac1
  • Latest reply from dannydamnboy
  • This topic is not resolved
  1. jhorac1

    I've been working and tinkering with the CSS of my site, and I can't quite figure out the vertical spacing. I have added my own header image, but now the main content is jammed up underneath the bottom of the header. I could likely fix it myself by adding some "padding-top" to the main content in the CSS, but I simply can't follow such a straightforward approach because Firefox and Safari seem to be interpreting the vertical spacing differently (by about 50px or so). As an amateur, I can't figure out where this discrepancy might be happening, let alone how to go about fixing it so that it is drawn correctly in these two browsers (and others).

    Can anyone offer some insight into this and how I might go about fixing it?

    Posted 11 years ago #
  2. .. sitting in the middle of nowhere with a pretty bad EDGE connection .. will look into it tomorrow .. 'til then you could define a standard padding-top and in addition one for safari using the body class safari.



    Posted 11 years ago #
  3. try:

    #main {padding-top:20px;}
    .safari #main {padding-top:XXpx}

    where XX is the value needed for Safari to show the main content

    Posted 11 years ago #
  4. jhorac1


    That worked perfectly. Thank you for the suggestion!

    You likely noticed that I am using your "second-to-none" theme as a starting point for my own site. As I continue to work with it I'm sure I will come up with more questions regarding my own modifications and will definitely post them to this forum.

    Thanks again!

    Posted 11 years ago #
  5. jhorac1: there is an updated version of second to none ready for download, it fixes some minor layout bugs... if you will have any question regarding second to none, please post them also on second to none page (thanks in advance)!

    Posted 11 years ago #

RSS feed for this topic


You must log in to post.