Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 10-06-2010, 04:30 PM   #11
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

The reason why one div is wrapping is because there is not enough allowed space in the first row. This is exactly how floats are supposed to function. All you need to do is figure out the math. I tend to use multiples of 5 just because its easier. So...my suggestion:
  1. Set the main container width to "960px" (not 958px)
  2. 960 is easily divided into 3.
  3. Change the margin to "5px"
  4. Change the padding to "5px"
  5. Set the width of each column to "300px"
  6. Now they all fit. (checked in IE7)

Determining Width
Main container = 960px;
960/3 = 320;
320 - 10 (L & R margins) = 310;
310 - 10 (L & R padding) = 300

If you still need help, don't hesitate to ask.
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote


Reply

Tags
div alignment, ie6, width

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:59 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.