hello, friends. i posted a project here the other day that was full of tables & now i have a sec & thought i'd play around with making an equivalent css layout. it's looking a lot harder and less intuitive than the tables, so i thought i'd run some questions by y'all about my general tactics.
my original basic table layout can be seen here, if you're interested in where i'm going with this later on...basically i just want a couple different sort of short 2 and 3 column sections that get used many times going down the page...: http://tinyurl.com/45rhul anyway, my css test is here: http://tinyurl.com/6sb7bp here are my questions about the latter: 1) why does my wrapper div (gray bg) not fully enclose my columns? If I want space between rows, do I have to do something different? 2) each box is broken up into 3 main columns, which are currently floated against eachother as follows: +---------------------+----------------------+----------------------+ | leftCol - float L | midCol - float L | rightCol - float R | +---------------------+----------------------+----------------------+ My questions are, does it matter which way the right column is floated? And is there a better way of achieving fixed-width columns than floating in the first place? 3) Currently these 3 columns have pixel widths of 200+300+300, all with 5px borders = 830px total. They are wrapped in a div with width=830, so it all seems to work. My question about this is: could this break for some reason later? Obviously, if i change the border width of the interior divs to 4px, I'll end up with a bunch of thin lines between columns. OR, if I enlarged these borders, my Right column would flow down & break my layout. 4) When I remove .product_wrapper {white-space:nowrap;} the layout breaks in dreamweaver (here's a picture: http://tinyurl.com/4do3eu ). I thought it was doing it in FF too, but now I don't see it. Nonetheless, it worries me. In the past I've only used {white-space:nowrap;} for text. Is it advisable to leave this in? Or am I just worrying about a dreamweaver bug when I would be better off to delete this and ignore it? FWIW, it gets even worse if I stack a third row on the bottom. ok, i'll shut up now. THANKS as always for great advice! this is quickly becoming my fav discussion list on the whole internet. hope i continue to have time to keep learning! josh ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
