div question

Associate
Joined
18 Aug 2004
Posts
1,886
Location
midlands
hi,

im doing a template for my websites cutenews system (cutenews) but im not the best at html stuff :)
im doing alright, i just get stuck every now and then.

right now i am trying to get two divs side by side but have no idea how :(
i have
Code:
<div style="border: 1px solid #e5e5e5; text-align:left; z-index:99; height:100px;">
{short-story}
</div>

<div style="text-align:right; z-index:99; height:100px;">
{avatar} 
</div>

at the moment they are under each other, i want them next to each other, so the avatar is on the right and the short-story is on the left

could anyone help me out?
thanks
nickels
 
Back
Top Bottom