Problem with main nav

  • # September 12, 2008 at 4:56 pm

    So i was going through one of the video tuts and i was following along and am having some difficulties.

    Now keep in mind I was just messing around seeing if i could get it to work.

    Why wont the buttons go side-by-side horizontally instead of vertically.


    # September 12, 2008 at 6:01 pm

    This reply has been reported for inappropriate content.

    The anchor elements don’t have any width set on them, but they are set to display block. When you make an element display: block;, it defaults to 100% wide. What you’ll need to do is FLOAT those anchor elements to the left and then set a WIDTH on them (the width of the images you created).

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

You must be logged in to reply to this topic.