I agree with Bobby. Style sheets originally come from print graphics applications such as Quark, where they are used to more easily control the look and feel of text elements. That was also the original idea (I think) for their use on the web. People seem to enjoy twisting themselves into pretzels trying to get CSS to do what tables already do easily. Sounds like with the real estate application you are setting up, you would want to use tables to output the listings and use css for controlling look and feel elements.
----- Original Message ----- From: "Bobby Hartsfield" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Monday, November 21, 2005 5:01 PM Subject: RE: CSS table-type layout > You have a ton of these.... > > <style type="text/css"> > > #MainContainer > { > width:500px; > height: 500px; > position:absolute; > } > > div > { > width:250px; > height: 500px; > float:left; > } > > #leftBox > { > background-color:#CCCCCC; > border:1px solid #000000; > } > > #rightBox > { > background-color:#666666; > border:1px solid #000000; > } > > </style> > </head> > > <body> > > <div id="MainContainer"> > <div id="leftBox">This is the left box</div> > <div id="rightBox">This is the right box</div> > </div> > > > > Nested inside of nested items that are nested inside of deeply nested > items > of nested items... *trails off* > > Or you could just use tables :) > > When you get too many columns and rows within columns and rows with a pure > css layout, you're going to go postal trying to write easily > followed/manageable css and worrying about cross browser compatibility. > > Every column or row you have that is not the exact same size of atleast > one > other column or row in width: will need its own style set too... it gets > to > be a big headache for nothing in my opinion. > > Tables work across the board and there is nothing wrong with using them. > > That's just my pocket change though. > > Goooood luck :) > > ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > -----Original Message----- > From: Ray Champagne [mailto:[EMAIL PROTECTED] > Sent: Monday, November 21, 2005 7:50 PM > To: CF-Talk > Subject: CSS table-type layout > > So....still working on my first completely css-based site and I must > say, damn, CSS is impressive, albeit a little hard to get used to. But > once you find out the tricks, etc, it's not as daunting as it seems. > Dave, you were right :) > > Anyways, the site I am building is a real estate site, 3 columns, with > the center column containing the content for the site. Now, with a real > estate site, there is always the need to have a lot of info on the page, > along with a picture gallery (gonna use a popup slideshow with thumbs) > for property details. So, for such tabular-style data, how would one > approach a css version of a table with lots of rows and columns? Is > there a trick that I don't know about, or is it just better to use tables? > > I want to keep the site 100% css, just to be pure and "force" myself to > learn it. But, if this is a stupid way to go, then I won't bother and > go with the tried-and-true approach. > -- > ============================== > Ray Champagne > Application Developer > CrystalVision Web Site Design > http://www.crystalvision.org > 603.433.9559 > [EMAIL PROTECTED] > ============================== > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224919 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

