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> Quote 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; } Quote Link to comment https://forums.phpfreaks.com/topic/203666-boxes/#findComment-1066800 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.