Welcome to WebmasterWorld Guest from 54.159.12.17

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to Align Div Boxes?

     

Innovate

8:56 pm on Dec 24, 2010 (gmt 0)

5+ Year Member



I have two boxes that I need to know how to align. I want the boxes to be next to each other, instead of on top of each other. How do I do this?

Here is the code-

<div style="width: 275px; height: 170px; border: 3px solid green; text-align: center;"> Text Here</div>
<div style="width: 275px; height: 170px; border: 3px solid green; text-align: center;"> Text Here</div>

topr8

9:44 pm on Dec 24, 2010 (gmt 0)

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



float:left;

Innovate

1:06 am on Dec 27, 2010 (gmt 0)

5+ Year Member



Yes.

Thank you.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month