3raser Posted June 2, 2010 Share Posted June 2, 2010 http://domination.comyr.com/ How do I make the boxes side by side? <style> body { font-family:arial; } div.lefthand { width:400px; height:70px; background-color:#000099; color:#0066FF; } div.righthand { width:100%; height:50px; background-color:#0066FF; color:white; } </style> Link to comment https://forums.phpfreaks.com/topic/203666-boxes/ Share on other sites More sharing options...
Hybride Posted June 2, 2010 Share Posted June 2, 2010 Have you tried looking at floats? div.lefthand { float:left; width:400px; height:70px; background-color:#000099; color:#0066FF; } div.righthand { float:right; width:100%; height:50px; background-color:#0066FF; color:white; } Link to comment https://forums.phpfreaks.com/topic/203666-boxes/#findComment-1066800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.