Hi all!

This example here  works when inside the 
<div class="tretja">
</div>
is content.
How can I display rounded corner box when it is no conten inside them?
I try to tell the width but appare only the repeated middle image.
The classes are because i must reuse the code for that rounded corner box.

Thanks for help
Lilla

The code:

<div class="prva" id="empty"> 
    <div class="druga">
        <div class="tretja">
        </div>
    </div>
</div>

#empty{
    height:100px;
}

.prva{
    background: url(../images/middle.gif) center repeat-y;
    margin:0 0 8px 0;
}
.druga {
    background: url(../images/top.gif) top center no-repeat;
}
.tretja {
    background: url(../images/bottom.gif) bottom center no-repeat;
    margin:0;
}





 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to