View Single Post
Old 5th September 06, 10:12 AM   #2
WLC Lover
Nemus's Avatar
Join Date: Apr 2006
Location: Falköping, Sweden
Posts: 106
Default Re: Placing 2 DIVs side by side..

Something like this should solve your problem.

div { width: 300px; border: 1px solid red; float: left}
and, in the html:

<div>Woho, first div!</div>
<div>And a second one!</div>
Setting the float to left will cause the element to float left as much as possible. That means the elements will be placed side by side.

To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
Nemus is offline