background-color of the whole menu bar

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
turnbeutel85

background-color of the whole menu bar

Post by turnbeutel85 »

hello,

please have a look at my cms: http://www.tvhude.de/tt/cms/

on the left side are the menu elements: 13 red buttons. the background below the menu elements is white. ii it possible to color it in red as well? i already had a look in all CSS-Styles, but i couldn´t find it. how can i change the background-color for the menu bar?

thanks a lot!

greets turnbeutel85
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: background-color of the whole menu bar

Post by Dr.CSS »

div#content {background-color: #f20000;

then you have to set the #main{background-color: #fff;  to give it a white background....
turnbeutel85

Re: background-color of the whole menu bar

Post by turnbeutel85 »

ok thanks. but now there is a red stripe on the right side as well. is it possible to get it white without setting left-margin to zero?
-> www.tvhude.de/tt/cms
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: background-color of the whole menu bar

Post by Dr.CSS »

Try this...

    div#main {
        float: right;
      width: 76%;
        margin-right: 0;
        padding-right:2%;
        padding-left:10px;

        display: inline;
        background-color: #ffffff;
    }
turnbeutel85

Re: background-color of the whole menu bar

Post by turnbeutel85 »

thanks!!!
Locked

Return to “Layout and Design (CSS & HTML)”