Forums

how to draw css box in sidebar (1 post)

  1. walkinman
    Member
    Posted 3 weeks ago #

    Hey Folks,

    I'm trying to fix a few things on my site it looks OK (or did, until I started messing with it) in Firefox and Safari, and IE8, and not too terrible in IE7. But i'm getting validation errors because apparently I used <div> tags instead of

  2. tags to draw the boxes you see in the side bar:
    See webpage.

    so I am trying to replace the <div> tags .. but how do I define the

  3. tag to the same elements that I had for the <div> tag? On the opt and bottom of the box, I have an image, and then the middle I had just used this <div> tag:
    <div id="author">

    and the css. for that is:

    #author {
           background: #fefef2 url('images/sidebau.gif') top center ;
           padding-top: 5px;
           padding-right: 5px;
           padding-bottom: 5px;
           padding-left: 5px;
           border-top: 0px;
           border-right: 1px solid #fefef2;
           border-bottom: 0px;
           border-left: 1px solid #fefef2;
           margin-left: 3px;
           width: 170px;
           align: center;
    }

    so I can I switch the <div> tag to a

  4. tag, and how do I render it so the box is aligned correctly, and has the left and right margins?

    Thank you.

    Cheers

    Carl

Reply

You must log in to post.

About this Topic

Tags