• I have to divs besides eacht other using css:

    .menu_small {
    float: left;
    width: 180px;
    padding: 0 0 0 0;
    }
    
    .menu_small_sec {
    float: right;
    width: 180px;
    }

    But in the left div there is a longer text, so if I give it a backgroundcolor, the backgroundcolor of the right div is ‘too short’. I tried to use: overflow:hidden, but that won’t work. Suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Div height background’ is closed to new replies.