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]
==============================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224911
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54