• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Calling web designers out there

Ok, so I design pages using tables, but my friend here is telling me this is not what I should be doing, and that one should use CSS floats. I honestly think that tables are a lot neater and just more browser compatible. CSS still has some issues, and I've seen some pages he's made and it looks terrible when you switch between IE and FF. Both are different, and once you start using both, you will notice that neither look really good. I like tables. I don't see what sites don't use tables...
 
Originally posted by: DLeRium
Ok, so I design pages using tables, but my friend here is telling me this is not what I should be doing, and that one should use CSS floats. I honestly think that tables are a lot neater and just more browser compatible. CSS still has some issues, and I've seen some pages he's made and it looks terrible when you switch between IE and FF. Both are different, and once you start using both, you will notice that neither look really good. I like tables. I don't see what sites don't use tables...


Use what works for your project. I still use tables all the time. Easier code many times AND you know it will work between browers.
 
Originally posted by: neutralizer
I like tables and use CSS for formatting only.

I definitely use both, but for 2 different things. Table for organizing layout, CSS for text formatting.... I'm being told to use CSS for layout too, and thats too much for me. Confusing and troublesome to code. I imagine it could be a lot more powerful than tables if you put in the time, but for the most part, tables can be quite neat and simple. Unless you need some weird layout, I think tables should mostly do it... but iono. It's tough working with people who are actually EECS majors and who continue to lecture me over and over again about programming ><.
 
CSS has it's benefits, one if them being for DOM scripting. You can manipulate the DOM with javascript and by doing so can change look/feel/layout by switching CSS ID's. CSS is also good for site maintainence as long as you have good markup you can change your site simply by modifying your CSS.

 
CSS when I know my pages are going to be viewed on computers. I use tables for sites that might be used on mobile devices. I've found tables to be more friendly to the fvcked up browsers found on many phones and PDAs.
 
Can't one use both? I use tables to organize stuff and css to set teh style. Using css to move things around often makes the layout incompatible in browsers. I know opera and IE handle divs really differently
 
I code in pure CSS and can be reasonably sure that it will look 95+% alike across different browsers on different OSes. You just need to know what you are doing.
 
CSS FTW.

I was using tables for layout and switched over to CSS and the difference is night and day. You just can't get the flexibility of positioning with tables. Not to mention that having a layout with millions of <tr><td>, colspan, rowspan can be a pain to edit.

Yes, it is very challenging to get everything working right once you just start CSS but after you get the hang of it, it becomes second nature. As for incompatibility between browsers, well, its not as bad as people make it out to be.
 
Both. I use CSS for most of my layout, but I code a lot of internal database applications, and tables work much better for presenting large amounts of data with a repetative layout.
 
Unless you're displaying tabular data, tables need not be used. CSS is not just for layouts, but styling aswell. You'll want to have at least some CSS, so why mix the two?
 
I think CSS will be the future, but for compatability NOW stay with tables. The original posters friend and the first reply are both correct IMHO.
 
Originally posted by: DAGTA
Originally posted by: DLeRium
Ok, so I design pages using tables, but my friend here is telling me this is not what I should be doing, and that one should use CSS floats. I honestly think that tables are a lot neater and just more browser compatible. CSS still has some issues, and I've seen some pages he's made and it looks terrible when you switch between IE and FF. Both are different, and once you start using both, you will notice that neither look really good. I like tables. I don't see what sites don't use tables...


Use what works for your project.
I still use tables all the time. Easier code many times AND you know it will work between browers.

Exactly. I'm a professional web designer and I use tables all the time. It's 100% consistant in all browsers if done right. I use CSS too, just depends on what you're doing...

 
bwahaha

If you are making a real site with more than three pages, you'd have to be a fool not to use CSS.

If it's a one page dealie, use whatever you want.
 
Originally posted by: So
bwahaha

If you are making a real site with more than three pages, you'd have to be a fool not to use CSS.

If it's a one page dealie, use whatever you want.

:thumbsup:
 
Please use CSS and stop perpetuating the misuse of tables in HTML.

Really, it's not THAT hard to get a CSS layout working in multiple browsers.
 
It depends on the site, but I use both tables & CSS in my designs. For the most part, getting Divs to float together like a table can be cumbersome. I definately do use CSS for all text formatting
 
Back
Top