Forum Moderators: not2easy
My problem is that I want to control the distance between the right box from the left. Meaning that if I want the right box to be 5px from the leftt box that should be possible yes?
At the moment I cant get that to work correctly with float right.
CSS:
#wrapper{
width:1020px;
margin:auto;
background-color:#FFFFFF;
text-align:left;
padding:0 18px 18px 18px;}
#afsnit_1 {
position:relative;
float:left;
height:170px;;
width:750px;
border:#000000 solid thin;
}
#afsnit_2 {
position:relative;
float:right;
height:170px;
width:225px;
border:#000000 solid thin;
background-color:#1d586e;
}
Html:
<body>
<div id="wrapper">
<div id="afsnit_1"></div>
<div id="afsnit_2"></div>
</div>
</body>
[edited by: encyclo at 1:23 am (utc) on July 15, 2007]
[edit reason] See Guide to Posting Code [webmasterworld.com] [/edit]