Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: incrediBILL

How to Align Div Boxes?

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



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>
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;
1:06 am on Dec 27, 2010 (gmt 0)



Yes.

Thank you.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month