The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

css background problem plz help urgent

  • # December 24, 2009 at 8:48 am

    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



    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

    # December 24, 2009 at 7:52 pm

    This reply has been reported for inappropriate content.

    You asked this question here and there have been replies.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘css background problem plz help urgent’ is closed to new replies.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed