Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-26-2008, 04:05 PM   PM User | #1
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
lining up classes side by side[resolved]

Probably an easy question and for some reason i have forgotten it or never learned it. The problem i face is taking 2 classes and lining them up horizontally. like so ---

Code:
.boxes {
height:100px;
width:150px;
border:1px solid #000000;
margin:12px;
}
i have a width maximum of 400px. So i possibly could fit another box in there besides two.

ok the question: How would i make them line up with out using floats? I know this is probably basics but for the life of me i cant remember how to do this.

Hope someone can help, i appreciate any help!!
jcdevelopment is offline   Reply With Quote
Old 02-26-2008, 04:47 PM   PM User | #2
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
nevermind, i just floated them left, i always miss the little things!!
jcdevelopment is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:36 AM.


Advertisement
Log in to turn off these ads.