Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 7:52 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  divs together -how to question
PostPosted: March 31st, 2009, 2:27 am 
User avatar

Posts: 44
Hi, i started using divs for grouping my site and apply formats, now im wondering how to put a div next to another div, not under but next to it, side by side. Can i do this without using fixed or absolute position?


Top
 Profile  
 
  Re: divs together -how to question
PostPosted: March 31st, 2009, 2:29 am 
User avatar

Posts: 112
add to your divs the inline style
<div style="display: inline;">


Top
 Profile  
 
  Re: divs together -how to question
PostPosted: March 31st, 2009, 2:32 am 

Posts: 96
Or activate the float property.

<div style="float: left">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron