roundcorners Posted March 26, 2008 Share Posted March 26, 2008 My site http://www.josephchapman.com has a problem. It may have more, but I am particularly frustrated with just one.the content contains two main divs, one floats left, the other floats right and the width of both are defined percents.When I resize the window to 800x600 the right floated div falls below the left one, but I hoped they would both just continue to decrease in width. Can someone please tell me what I am doing wrong?Thank you in advance. Link to comment Share on other sites More sharing options...
jlhaslip Posted March 26, 2008 Share Posted March 26, 2008 Change the margins on the two side-by-side small boxes in the main-content area from absolute size in pixels to percentages and you should be good to go. I tried 2% for the left/right margins and it looked ok.What happens is the two boxes are percentage sized, so they take a certain number of pixels of width, based on the screen wide. As they get smaller, the margins do not reduce in size proportionately, so the boxes with their margins become too wide for the container and the right box drops down. Link to comment Share on other sites More sharing options...
roundcorners Posted March 26, 2008 Author Share Posted March 26, 2008 thank you I'll try it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.