The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS H1 bottom border not appearing in IE

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #23274


    My H1 code is formatted so that a orange border bottom is to appear underneath it on every page. It works in Firefox and all other browsers except for IE. I am not sure why that is?

    In suggestions?

    My site:

    The line should appear under Welcome! and underneath every h1 tag at the top of each page.



    I viewed it in IE6, and saw the problem you described.

    I am echoing what cybershot said – it’s a width thing. If you apply a width of 99% to h1,h2 you’re problem with that should go away. (Make sure you apply it to both h1 and h2, because the problem exists where it is displayed next to the navigation. If your h2 tags are up that high on the page they will encounter the same problem.)

    The footer issue looks like a problem with the margin in the container div. If you remove the -30px bottom margin, it should display properly.

    Oh, yeah… One more thing I noticed. You are calling your styles.css page twice. Just FYI


    Awesome, the 99% trick works.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.