SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    probably simple header background issue..

    I can't figure out why this is happening.. please someone give me a hint!

    http://www.rkm1984.com/2009/07/21/rkm1984/

    for some reason the header is stretching up to cover the nav div, and i can't for the life of me think why...
    thanks!

  2. #2
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i made it work with a br tag, but I have no idea the reason why it's necessary...

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,567
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, I went to your page and tried to find out the problem, but in Opera and FF the hehader isn't covering up teh nav, and no <br>'s are in the #right column, nor in the #header.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey.. it wasn't visible for a while bc after i fixed it i removed the test posts i'd put in to make the nav things would show up (only shows next/previous if there is a next previous)... but now there's a second post anyway.
    the weirdness was only on the single post view, but basically there was a nav div and then an h2 and the h2 background was extending up over the nav div and even a little higher. it basically seemed linked to the top of the content div. but as i thought divs were block elements, shouldn't it have started a new line automatically? putting the break in made it behave how i'd expect it to normally.

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,567
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hmm are they floated? The h2s?

    Try instead the break, overflow:hidden; on the parent (assuming they are floated)

    Your description made it seem like they are floated, and once floated they go on the same line (assuming there is enough width)
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  6. #6
    SitePoint Zealot
    Join Date
    Feb 2009
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well the nav links above the h2 are floated, but not the h2 itself. what happened was they don't go on the same line... the next/previous links were still above the header, but the header's bg color extended up over the next/previous links..


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
  •