Log in

View Full Version : Positioning text with Div / CSS



Strouse
03-28-2010, 12:58 PM
Hi

I am trying to figure out how to position a few blocks of text horizontally next to each other...

I made this image as an example:
http://img94.imageshack.us/img94/7181/17869624.jpg

What would be the code to do that using <div> and css commands?

thanks

Nile
03-28-2010, 02:34 PM
Use float:left; I uploaded an example here: http://unlinkthis.net/examples/horizontal_divs/div.html

Strouse
03-28-2010, 02:44 PM
thanks

Nile
03-28-2010, 04:45 PM
Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"