SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Nov 2008
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem With Header Margin...

    Please compare this page in both IE & FF.

    You'll see that the <h1> tag @ the top of the category page, above the sunglasses, which reads for "Wayfarer Sunglasses" has added margin spacing below it in IE - extra spacing does not appear in FF.

    What is causing it? How do I get rid of?

  2. #2
    SitePoint Addict
    Join Date
    Nov 2008
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just fixed some code but now extra spacing is appearing in FF as well...

    How do I get rid of that extra spacing?

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,172
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by jihanemo View Post
    How do I get rid of that extra spacing?
    You have a <br> element under the H1. Remove that.

  4. #4
    SitePoint Addict
    Join Date
    Nov 2008
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whoops. Okay. That took care of it. I forgot that header tags naturally break between the next line. Thanks!

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,172
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by jihanemo View Post
    I forgot that header tags naturally break between the next line.
    Yes, they are "block" elements like <p>s etc.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •