Floatdrop with columns

hello all, this is my first time here and my first time building a “real” website

my problem is with using a “2 column liquid left sidebar template” which was suggested by a friend. (this might be the first problem :rolleyes:)

when i have images in the mainContainer, they drop below the menu in “sidebar1” when i shrink the browser window. I formatted my site for 1440x900 because most design studios have hi-res monitors, but when my friends look at it on their little laptops, it goes weird.

is there a way that I can make these images stay parallel with the menu and have a scroll bar (left to right) appear if needed?

is this because i used a “liquid” template?

here is my code
and my website is here derekbroad.netfirms.com

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css"> 
body  {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 100%;
	background-color: #FFF;
.twoColLiqLt #container {
	width: 100%;  /* this will create a container 80% of the browser width */
	background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #FFF;
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;

/* Tips for sidebar1:
1. since we are working in percentages, it's best not to use padding on the sidebar. It will be added to the width for standards compliant browsers creating an unknown actual width. 
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColLiqLt #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
.twoColLiqLt #sidebar1 {
	float: left;
	width: 20%; /* top and bottom padding create visual space within this div  */
	background-color: #FFF;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 15px;
	padding-left: 0;
	border-top-color: #FFF;
	border-right-color: #CCC;
	border-bottom-color: #FFF;
	border-left-color: #FFF;
.twoColLiqLt #sidebar1 h3, .twoColLiqLt #sidebar1 p {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
	font-family: Georgia, "Times New Roman", Times, serif;

/* Tips for mainContent:
1. the space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 430px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
.twoColLiqLt #mainContent {
	font-family: Georgia, "Times New Roman", Times, serif;
	background-color: #FFF;
	margin-top: 0;
	margin-right: 15;
	margin-bottom: 0;
	margin-left: 15;
	font-weight: lighter;
	padding-top: 70px;

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    font-size: 1px;
    line-height: 0px;

thanks everybody!!

ps, i know the code is pretty sloppy… it’s my first day!

Hi Derek_B, welcome to SitePoint! :slight_smile:

Your link doesn’t demonstrate what you are describing, but anyway, from your description, I’d say perhaps you need to set a min-width on the page wrapper to stop it reducing more than a certain width (below which things start to drop).

So, something like

#wrapper {
    min-width: 900px;

thanks for the advice,

i should note that the page giving me problems is

when i shrink this page down, the tiled images on the right drop below the menu on the left.

i’ll give it a go a see if it works!