homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How to Align Div Boxes?
Innovate



 
Msg#: 4245957 posted 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>

 

topr8

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



 
Msg#: 4245957 posted 9:44 pm on Dec 24, 2010 (gmt 0)

float:left;

Innovate



 
Msg#: 4245957 posted 1:06 am on Dec 27, 2010 (gmt 0)

Yes.

Thank you.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved