New York Design & Development Forums  

Go Back   New York Design & Development Forums > Development > Website Programming
Connect with Facebook

Notices

Reply
 
LinkBack Thread Tools
Old 04-03-2006, 12:08 AM   #1 (permalink)
Member
Enthusiast
 
textbooksword's Avatar
 
Join Date: Nov 2004
Posts: 97
textbooksword will become famous soon enough
Question CSS Instead of Tables?

What do we all think about the fact that Internet explorer does not support CSS like it should? This is a two part post because I’m also going to ask anyone well versed in CSS to tell me how or why I would use CSS to replace tables. What kind of layout couldn’t be made in tables and would have to be made in CSS? What does it all mean?
textbooksword is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-03-2006, 02:23 AM   #2 (permalink)
Senior Member
Fanatic
 
Cota's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 414
Cota is a glorious beacon of lightCota is a glorious beacon of light
Default Re: CSS instead of tables?

The table in CSS -vs- Tables has been processing and work load on the browsers. CSS fans, **cough cough** W3C....believe that CSS is the answer to everything. The fact is that load on the browser is not truly affected by tables or css positioning. Good article here
http://www.decloak.com/Dev/CSSTables/CSS_Tables_01.aspx
Cota is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-03-2006, 02:56 AM   #3 (permalink)
Member
Enthusiast
 
CyCL3's Avatar
 
Join Date: Feb 2006
Posts: 89
CyCL3 is on a distinguished road
Default Re: CSS instead of tables?

Great article. Ive read the beginning half of it and came back just to say great article. I guess i will come back when im done. :madgrin:
CyCL3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-03-2006, 03:32 AM   #4 (permalink)
Senior Member
Fanatic
 
Michael's Avatar
 
Join Date: Mar 2006
Age: 24
Posts: 253
Michael is a glorious beacon of lightMichael is a glorious beacon of light
Send a message via AIM to Michael Send a message via MSN to Michael Send a message via Yahoo to Michael Send a message via Skype™ to Michael
Default Re: CSS instead of tables?

The fact is, these are standards... the problem is that HTML went in the completely wrong direction, and it was because of designers. Tables are made and meant for tabular data, not layout. I think that even as a designer people need to love CSS the possibilities are FAR less than that of it's counterpart, Tables.

And even though the difference in speed is not as durastic as implied, it is a difference and because of the nature of the internet and peoples computers, we need to save as much memory and speed as we can.

There is nothing but UPs when you are looking into CSS. Even the learning curve isn't bad at all.

I'm a huge fan of the standard, maybe if everyone actually followed the standard I'd push for more functionality and control.

_Michael
__________________
Actionscript Developer :P ...Dope...


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
<--- yeah I'm a nooob, so what
Michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-03-2006, 04:02 AM   #5 (permalink)
Loathor_Healer
Guest
 
Posts: n/a
Default Re: CSS instead of tables?

I would suggest..if anything you use CSS to manipulate tables. I can help you with this.. but tables are awsome and I wouldnt stray from them.

any layouts can be made from css/tables. they both can have the same functionablitly as Ive seen. and Ive done both. worked with HTML and CSS together. with tables and divs.

I can help you if you like.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-03-2006, 04:43 AM   #6 (permalink)
Senior Member
Fanatic
 
Michael's Avatar
 
Join Date: Mar 2006
Age: 24
Posts: 253
Michael is a glorious beacon of lightMichael is a glorious beacon of light
Send a message via AIM to Michael Send a message via MSN to Michael Send a message via Yahoo to Michael Send a message via Skype™ to Michael
Default Re: CSS instead of tables?

What about Symantics? And as far as speed goes, when you compare actual pages, CSS/XHML is much smaller than tables. There is far less code, less for the parser to parse. I think it just grosses me out to abuse tables. Another thing, have you ever heard a screen reader read your page... if not I suggest all you table designers out there do it now... Accessibility is an essential part of our jobs.

_Michael
__________________
Actionscript Developer :P ...Dope...


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
<--- yeah I'm a nooob, so what
Michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-14-2006, 05:07 AM   #7 (permalink)
Junior Member
Casual Browser
 
john23's Avatar
 
Join Date: Apr 2006
Posts: 21
john23 is on a distinguished road
Default

I use CSS classes to manipulate tables. Like I would say <table class="MainTable" .....> at the start of my tables, and then in the CSS file, define how MainTable will look, etc.
john23 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-14-2006, 11:31 AM   #8 (permalink)
Senior Member
Fanatic
 
Cota's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 414
Cota is a glorious beacon of lightCota is a glorious beacon of light
Default

Michael..you mentioned CSS using less code, so it must parse faster?? But what about the render engine for that specific functionality...how much resources is that eating?
Cota is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-18-2006, 09:34 PM   #9 (permalink)
Junior Member
Casual Browser
 
Toucan42's Avatar
 
Join Date: Apr 2006
Age: 39
Posts: 23
Toucan42 is on a distinguished road
Default

Tables are in fact meant for tabular data, but CSS was late to the party and now it wants to be seen as the guest of honor. Fact is that they both are capable though tables are less likely currently to cause cross-browser issues.

I use tables because I am lazy.
I use CSS because I love it.

Use what makes sense for your own situation and don't worry about purists. If you are building a site for the mass public then CSS is certainly worth a look for accessibility reasons alone.

Regarding the concern about table rendering speeds the real problem is tables within tables. If you MUST do this then use the fixed width property of the tables you create in order to force the browser to accept your width declarations otherwise it will spin it's rendering engine wheels forever before finally spitting out your document.
Toucan42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-19-2006, 08:22 AM   #10 (permalink)
Senior Member
Aficionado
 
chameleon's Avatar
 
Join Date: Apr 2006
Age: 51
Posts: 244
chameleon is just really nicechameleon is just really nice
Default

Like a lot of people, I use CSS and tables together in what little work I do. What I love about CSS is
  • the ability to separate out design elements and place things precisely where I want them.
  • Change the whole look and feel of my whole website by linking it to another CSS document
  • Layering with a z-index (not that I've got that working how I want it anywhere, but in theory it's cool
  • Did I mention changing things around is REALLY REALLY easy?
  • manipulating tables is easy - just declare a class and set the parameters that I want in it

What I hate about CSS is
  • inconsistent implementation in browsers

I posted this link in another thread, but it's worth repeating here.. if you want to see what real graphic designers are capable of doing with CSS then


is an absolute must-see.
__________________
Chameleons dream in color.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
chameleon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 06-03-2006, 12:09 AM   #11 (permalink)
Senior Member
Fanatic
 
Cota's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 414
Cota is a glorious beacon of lightCota is a glorious beacon of light
Default

"real designers" thats almost insulting..though I know you didnt mean it that way. Why does every think that only "real designers" use CSS. I'm considered a "real designer" I dont think CSS is that great, uesful yes, amazing no.
Cota is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 06-03-2006, 03:49 AM   #12 (permalink)
Senior Member
Aficionado
 
chameleon's Avatar
 
Join Date: Apr 2006
Age: 51
Posts: 244
chameleon is just really nicechameleon is just really nice
Default

You're right - I didn't mean it that way I meant 'real designers, as opposed to people like me' - and it's not CSS that's amazing... it's what people can do with it. It's sorta like the difference between saying 'playdoh is amazing' and 'some of the stuff I've seen people do with playdoh is amazing'. Until I saw CSS Zen Garden, I thought of CSS as mostly a way to change a few colors and move stuff around a little. I was totally blown away by the possibilities when you combine it with graphic design skills and a talented, trained eye.
__________________
Chameleons dream in color.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
chameleon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 06-03-2006, 02:03 PM   #13 (permalink)
Senior Member
Fanatic
 
Cota's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 414
Cota is a glorious beacon of lightCota is a glorious beacon of light
Default

I will agree with that..
Cota is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 12-17-2006, 04:49 PM   #14 (permalink)
Member
Enthusiast
 
Join Date: Dec 2006
Posts: 78
Brighteyes is a glorious beacon of lightBrighteyes is a glorious beacon of lightBrighteyes is a glorious beacon of light
Send a message via Yahoo to Brighteyes
Default Re: CSS instead of tables?

YIKES the css vs table debate lives on!

First off... there are two different classes of CSS, so which one are we actually referring to here?
CSS in its basic form is used for font styles, sizes and colors, and the like.
Then there's CSS-P (or full css). CSS-P specifically refers to use of <div> tags to replace <table> tags, among other things.

I use both, since each has it's own purpose.

In my website designs and templates I use tables, sometimes with some css thrown in for design manipulation. In my designs for vBulletin I use css, because that's what vBulletin uses, but sometimes I sneak a table into the mix.

I have to say that on the whole, I do not believe that CSS is practical in all, or even most cases. Now don't hit me over the head!! I have my reasons.

All in all, I lean more towards tables. Why? Because I have a slogan that I go by in my designs... K.I.S.S. (Keep It Simple Stupid). And for me, that means TABLES.
Tables are simple, and tables work.
Brighteyes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 12-18-2006, 05:33 PM   #15 (permalink)
Administrator
Enthusiast
 
johnboulder's Avatar
 
Join Date: Mar 2003
Posts: 97
johnboulder is just really nicejohnboulder is just really nice
Send a message via MSN to johnboulder Send a message via Yahoo to johnboulder Send a message via Skype™ to johnboulder
Default Re: CSS Instead of Tables?

I thought this topis had expired somewhat.

However, to reiterate my views - I believe in function over form, or that in whatever you create, the ease of use is more important than the way it works.

This may sound like an argument for tables, it is however, a balanced one - as you can accomplish some things more easily in CSS than you can using tables, and vice versa. I'm also not a huge fan of completely seperating layout from content, as for the 2 to integrate properly, you need to consider both, and sometimes the only way to do that is to merge some of the attributes of each.

For instance, I try and seperate the page logic out into a template or series of templates which slot information into relevant areas - how content fits into those areas thoughm is up to the content generation module being used at the time.

However, back to CSS vs Tables - I use CSS for forms, as it provides a more flexible way of handling them.

Where I'm displaying tabular data though, I will use tables every time...

For interface data, though, I use a mix of both, purely because of the fact that browsers still refuse to share the same CSS interpretation (circa the 3px bug) - so for columns within a layout, I will use tables, but for tabs or other interface niceties - I use CSS.

At the end of the day, it's what you're used to and comfortable with that works best, dont worry about what others preach you should be using - your interpretation, as long as it doesn't affect your end clients, is completely your decision.

Regards
__________________
Sean Johnstone

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Tutorials:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Tutorial on creating navigation tabs using CSS

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Tutorial on PHP custom user authentication
johnboulder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 12-21-2006, 06:25 PM   #16 (permalink)
Member
Follower
 
nancy_kelpie's Avatar
 
Join Date: Dec 2006
Posts: 37
nancy_kelpie will become famous soon enough
Default Re: CSS Instead of Tables?

I also use CSS.
CSS div layers to be exact. (easier to find tutorials with google if you search on "div layers")

You can place your things much better and a cool extra thing is that you can place things on top of each other! So when sketching how you want your website to be, you can be much more creative!

It was pretty difficult for me in the beginning to find out how it worked, but it's worth it tough!
nancy_kelpie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 01-01-2007, 06:56 PM   #17 (permalink)
SHP
Sexual Harassment Panda
Aficionado
 
SHP's Avatar
 
Join Date: Dec 2004
Posts: 139
Images: 2
SHP will become famous soon enough
Default Re: CSS Instead of Tables?

Quote:
Originally Posted by shinningstar View Post
I onlu use CSS in my friendster profile. It really helps to improve my website. So far, I haven't tried other usage of CSS.
CSS is not only limited to editing social networking websites.
You should really look into maybe learning CSS a bit more.

This discussion is about the use of CSS vs. tables.
Quote:
Any repeated posting with irrelevant topics and or short posts in miscellaneous forums will be considered spamming.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- New York Web Development member gallery

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Community members show off your work

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Members compete for bragging rights or prizes
SHP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-23-2010, 03:41 PM   #18 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 2
JashimChando is on a distinguished road
Default Re: CSS Instead of Tables?

Yes ! major site have all changed their site to scemantique html and css style. Use CSS for style and HTML for content instead of mixing both in a HTML file mean a lot. Your design will degreace gracefully in older browser. Your design will be easier to maintain and use a lot less bandwidth (and by the side more speed). Easier to optimize for search engine like google. When you change some style you don't even need to touch HTML you can change every color and image in CSS.

HTML was created to store the data (content) of the website only.

All the style, color, image which are a part of the design go to the CSS.

You can use HTML 4.01 or XHTML both are fine. XHTML are HTML over XML and offer very small advantage. Content served as application/xhtml+xml instead of text/html.



All Electronic shopping
JashimChando is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layout with CSS or Tables? melissajean85 Website Design & Layout 2 04-28-2010 05:27 AM
Which is Good to use CSS or Tables. pradip030384 Website Design & Layout 1 10-04-2008 05:47 PM


All times are GMT -4. The time now is 03:43 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13