One of the things I always hear developers talking about is  
separating the layout/design/presentation from the data/code. CSS is  
really great way to do that. All you have to do is present very  
simple html code and CSS can do the rest.
Here is a project that I am developing right now that we did that on:  
http://theelearningcenter.com If you right click and view source it  
is just straight content no layout code at all (for the most part).  
The CSS takes care of the rest. This actually allowed us to skin the  
site for subdomains that came along and not have to change any of the  
cfcode: http://lamaru.theelearningcenter.com/. You'll notice that the  
html never changes, just the CSS. I know that example isn't very much  
of a creative change so go check out http://csszengarden.com. That is  
where I got the inspiration from. They use the exact same html and  
only change the CSS. This one is my favorite http://csszengarden.com/? 
cssfile=http://www.css-praxis.de/cssocean/zenocean.css . Watch the  
diver on the right as you scroll down the page.
Also you can put tables inside of divs and still remain very  
flexible. I'll have to admit it's not as easy as tables to support in  
all browsers, but once you learn the tricks it gets easier. Plus I  
don't even worry about it any more I just call up my CSS designer and  
tell him to figure it out. ;)

Dave



On Sep 9, 2005, at 11:19 AM, Rick Faircloth wrote:

> Hi, all...
>
> I've always used tables to display my data from queries.
>
> Now, I've begun to be interested more in using CSS and Layers.
>
> The first question I have is how would one display data from queries
> if not by using the top row of a table as the column headers and then
> looping through the query, displaying the data for each query row in
> each table row?
>
> That approach makes perfect sense to me, but I don't know enough
> about CSS and Layers to know if you have to (or if it's preferable) to
> use a table for data display even when using CSS and Layers?
>
> Also..a table will expand vertically to accomodate more data...will  
> a div?
>
> Anyone have any input to offer on the approach to presentation?
>
> If the answer to these questions and the overall approach is positive
> to using CSS and Layers for display, then I'll continue to study the
> tutorials,
> etc., that I find to learn CSS and Layers...
>
> Rick
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:217788
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

Reply via email to