html - Edit the Sidebar CSS -
i want sidebar occupy whole container, i'll give capture of i'm looking for.
here have css code sidebars
/* sidebar */ .sidebar { background-color:#fff; padding:13px; margin: 20px; margin-bottom:30px; padding-bottom:20px; color:#000; } .sidebartitle { background-color:#000; margin-left: -13px; margin-right: -13px; margin-top: -16px; padding: 20px; padding-bottom: 20px; margin-bottom:20px; font-family: 'raleway', sans-serif; text-transform:uppercase; font-size:22px; text-align:left; color:#fff; } #sidebar { position: relative; float: left; margin-left:15px; width: 340px; margin-top:20px; }
and here have code posts
#contentmiddle { margin-left: 370px; padding: 20px 0px 0px 0px; width:650px; } .post { padding:40px; margin-top:60px; background-color:#fff; background-color:#fff; background-repeat: no-repeat; padding-top:0; padding-bottom:0; }
this container
/* content */ #content { padding: 0px 20px 0px 20px; } #principal { width:940px; margin:0 auto; min-height:100%; height:100%; margin-top:60px; }
try width:100%;
. make content fill it's container.
note:
does not workposition:fixed;
Comments
Post a Comment