Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS css background problem plz help urgent

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27323

    i made a web site … everything in good…
    but my contener div has no background color….
    when i take height:auto; than my background color will not be display….

    and in the contener div when i put another div and another div has display:inline ; property than it problem is created………….

    for example :-
    in css style sheet

    .contener{
    widht:800px;
    height:auto;
    background-color:green;
    }

    .other{
    widht:500px;
    height100px;
    display:inline;
    }

    in html page

    <div class="contener">
    <div class="other">
    <div><!–otherdiv close–>

    <div>><!–contener close–>

    if i remove display inline property in other div than we can see backround color of contener and if i dont remove display inline property than background color dont show

Viewing 1 post (of 1 total)
  • The topic ‘css background problem plz help urgent’ is closed to new replies.