mohammad_molana Posted September 11, 2008 Share Posted September 11, 2008 hi all.i have a problem in div usage.this is my divs position:and this is my html tags: <div style="width:430px; height:100%"><div style="width:100px; height:100px; float:right; border:1px solid #333333"> </div><div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; background-color:#FF0000"> </div><div style="width:100px; height:100px; float:right; border:1px solid #333333;margin-right:10px;"> </div><br /><div style="width:100px; height:100px; float:right; border:1px solid #333333; margin-top:10px"> </div><div style="width:200px; float:right; border:1px solid #333333; margin-right:10px; margin-top:10px; background-color:#FFFF00"> </div><div style="width:100px; height:100px; float:right; border:1px solid #333333;margin-right:10px; margin-top:10px"> </div><br /></div> now i want that yellow div go up and grip to red div.how i do this????thanks for help. Link to comment Share on other sites More sharing options...
Synook Posted September 11, 2008 Share Posted September 11, 2008 Put each "column" of divisions inside their own parent division. Link to comment Share on other sites More sharing options...
mohammad_molana Posted September 11, 2008 Author Share Posted September 11, 2008 Put each "column" of divisions inside their own parent division.thanks synook for your help very much... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.