All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

headings on hidden pics dont line up

  • # November 10, 2009 at 5:12 pm

    http://www.beckenhauerconstruction.com/ … house.html

    on the above page, i have several headings containing hidden pictures that appear when you hover over the heading. The heading should be centered above the pictures when they are visible. Can anyone tell me what I have done wrong on January and February 2009, the Headings are not centered like the rest are??? Any help would be great!

    # November 11, 2009 at 7:22 pm

    you are missing the closing </li> tags on all of your unordered lists. You have this

    <ul>
    <li>January
    </ul>

    Should be this

    <ul>
    <li>January</li>
    </ul>

    run your code through the validator

    http://validator.w3.org/

    select the direct input tab, copy and paste your code into it and then start fixing the errors.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed