css to display three coloumn content

Posted by arpymastro on Stack Overflow See other posts from Stack Overflow or by arpymastro
Published on 2013-11-09T20:42:36Z Indexed on 2013/11/09 21:54 UTC
Read the original article Hit count: 454

Filed under:
|
|
|
|

I am trying to get three column output using <div> for each.

Right now my div on the left is lined properly even the middle one, but when I try to put right it is just clipping down.

CSS

/* left div */
 #left-sidebar, #right-sidebar {
    width:15%;
    height:700px;
    float: left;
    padding-left: 15px;
    padding-top: 20px;
}

/* middle div */
 #mid-content {
    width:75%;
    padding-left: 30px;
    padding-top: 20px;
}

/* right div */
 #right-sidebar {
    float:right;
}

© Stack Overflow or respective owner

Related posts about html

Related posts about css