Grow your CSS skills. Land your dream job.

Block issue with wordpress

  • # September 6, 2008 at 8:12 pm

    Hi,

    I am currently making a tabs based design but can’t get my block to work am i doing something wrong.

    Here’s my code

    Code:

    Code:
    ul#navigation {
    background-image: url(Navigation_GlassTheme.jpg);
    background-repeat: no-repeat;
    height: 40px;
    padding-left: 600px;
    color: white;
    font-weight: bold;
    font-family: Helvetica, Arial;
    }

    ul#navigation li a {
    display: block; width: 100px;
    float: left;
    margin-top: 170px;

    }

    div#wrapper {
    width: 1024px;
    margin: 0 auto;
    }

    # September 6, 2008 at 8:44 pm

    Should be:

    you forgot the li’s and closed the a tag wrong.

    # September 6, 2008 at 10:14 pm

    Thank you that worked, Just had to make some tweaks but I got the output right.

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".