Awesome, thanks for the tutorials. They helped alot, but I am still having some trouble. I now have 4 div sections: Heading, DirectoryMenu, Pictures (content), and Container which holds all of the other divs. Here is how I have them defined now:
/* Background properties */body{ padding:0; margin:0; background-color:#FFFFFF; color:#000000;}/* Everything is contained within this div */#Container{ width:100%; margin:0 auto;}/* Heading properties */#Heading{ border-style:solid; border-color:#000000; border-width:thin; background-color:#FFFFCC; margin:0.25em; font-weight:bold; text-align:center; color:#0000CC; clear:both;}/* Directory Menu properties */#DirectoryMenu{ float:left; max-width:35%; border-style:double; background-color:#CCCCCC; padding:0.25em; margin:0.25em;}/* Pictures section properties */#Pictures{ margin:0.25em; padding:0.25em;}
and this is the format they are defined:
<div id="Container"> <div id="Heading">....</div> <div id="DirectoryMenu">....</div> <div id="Pictures">....</div></div>
Problem 1 - The Pictures section contains 2 tables; 1 for the Pictures, and another for the Pages (i.e. if there are 100 pictures and you are showing 10 pictures per page, you will need 10 pages). I want the Pictures section to extend to the right edge of the screen (i.e. the right edge of the Container div) so that the tables extend from the left edge of the DirectoryMenu to the right edge of the screen. I have tried making the tables widths 100%, but then it makes the tables width the size of the screen width, so it extends past the right edge of the screen quite a bit. If I don't specify a width in the tables (as it currently is) then the tables only extend as much is needed to display their content. How could I get the tables to extend to the right edge of the screen?
Problem 2 - The Pictures section does not remain a rectangle. That is, if the Pictures section extends past the DirectoryMenu section, then the Pictures section moves over to the left edge of the screen. Is there any way I could specify it not to do this?
To see the page as it currently is go
here. Scroll all the way to the bottom to see Problem 2.
Any more help would be very appreciated. Thanks