Welcome to WebmasterWorld Guest from 54.146.230.149

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to Align Div Boxes?

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

Junior Member

5+ Year Member

joined:July 30, 2010
posts:49
votes: 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)

Senior Member

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

joined:Apr 19, 2002
posts:3180
votes: 8


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

Junior Member

5+ Year Member

joined:July 30, 2010
posts:49
votes: 0


Yes.

Thank you.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members