|
Ok e-commerce site here, each sales item is to be some kind of div which each contain a title, picture, description, and buy button. These will be fixed pixel size divs.
I want the sidebars to be static number of pixels.
To accommodate 1980 screens down to 800 screens, each item div should stack neatly into rows according to how many will fit in a row between the sidebars. This would imply that they should be floating.
example: We have 3 abroad on a 1280 screen and 7 abroad on a 1980 screen, still between static pixel width sidebars.
So is this CSS overflow or CSS align properties I should be looking at here, to make a bunch of divs float and arrange neatly into rows according to how much space there is between the sidebars?
I think the wrapper they float inside of should be a div which is defined from 130px from the top, and its left border is 130px from the left, and it's right border is 100px from the right, and it's bottom border is it's bottom border.
If you are on a 1280 screen with only 3 sales items abroad then the site becomes more than twice as tall as when you have 7 items abroad on a 1980 screen.
The wrapper div will start under the header on the top, go between the sidebars on the left and right, and the bottom will have to become taller based on how wide the screen is. But there must be stuff under the bottom of this wrapper. What kind of div should the wrapper be, and how should I define it for this?
The item divs are my most challenging part, how do I make them float and arrange themselves into appropriate rows according to how much space there is between the sidebars?
What kind of divs should these be? What properties will allow them to float like this, combination of css overflow and css align settings ? What are these precise settings?
- with this settings info and which kind of div I have conquered 90% of my dilemma.
__________________
I am hand developing a site which sells a Please login or register to view this content. Registration is FREE I am hand developing. Using DWCS5 And soon I hope that it's look wont betray the fact that it's my very first site. Hope to learn some flashy HTML4, CSS, JS plugin tricks, or hand codes doesnt matter.
Last edited by robtmathias; 07-23-2010 at 07:52 AM..
Reason: Correction
|