shlomi asaf wrote:
Hi :)
how can i position 2 divs, that r nested in 1 big div, like the following
example:
http://www.dogma.co.il/shlomi/position_zIndex.htm
Hi Shlomi,
This should do it:
<style type="text/css">
<!--
#container {
height: 500px;
width: 800px;
border: thin solid #999966;
}
#bigone {
background-color: #000000;
float: left;
height: 300px;
width: 200px;
margin: 0px;
}
#smallone {
background-color: #0033FF;
float: left;
height: 100px;
width: 100px;
margin-left: -50px;
margin-top: 50px;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="bigone"></div>
<div id="smallone"></div>
</div>
</body>
Regards
Rob
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/