Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe a CSS property such as float:center ?

    Thread Starter andydrish

    (@andydrish)

    Where

    div#container {
    margin-top: 5px;
    padding: 7px;
    padding-bottom: 0;
    background: url(images/wrapper.gif) repeat-x top left #114763;
    border-top: 1px solid #215972;
    color: #134663;
    }
    h2#banner {
    width: 771px;
    height: 118px;
    background: url(images/banner.gif) no-repeat top center;
    }
    h2#banner span { display: none; }

    div#lower {
    width: 771px;
    background: url(images/main.gif) repeat-y top left #c5d5e4;
    }
    div#sidebar {
    width: 227px;
    float: right;
    text-align: center;
    }
    #sidebar li {
    list-style: none outside;
    }
    #sidebar h2 {
    line-height: 40px;
    padding: 0 10px;
    height: 40px;
    color: #FFF;
    font-size: 16px;
    font-weight: normal;
    background: url(images/sideh2.gif) repeat-x top left;
    border: 1px solid #ff7a18;
    border-width: 0 1px;

    }
    #sidebar li ul, div.sidecell {
    margin: 7px 5px;
    padding: 10px;
    background: #FFF;
    border-bottom: 1px solid #afc4d9;

    }
    #sidebar li ul li {
    padding-left: 17px;
    background: url(images/bullet.gif) no-repeat top left;
    text-align: left; }
    #sidebar a:link, #sidebar a:visited {
    color: #134663;</B-quote>

    This is my code for my style.css…. I can’t seem to find where to place the float:center property… Any advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I center Mybloglog widget in sidebar?’ is closed to new replies.