Forum Moderators: open
Thank you very much for your help.
I have noticed that several folks are using css for designing their sites and that tables are out due to code bloating?
They're out for layout, but not for tabular data - i.e. data that is referenced by a column and a row.
Is CSS an easy thing to learn/use?
CSS - yes. Browser implementation inconsistencies - no. But that's what the CSS forum is here for.
Any other up to date tips you can give would be great.
Pick up a book that's been published this year on CSS and read it thoroughly. Have a walk through the CSS Zen Garden. Google stuff. Ask as many questions here as you like. Learn to hand code as much as possible (it's easier to debug if you're closer to the code). Code to a strict doctype (probably HTML 4.01 strict) and validate as you go. Test during development in the most standards compliant browser you can find (I use Firefox but Opera or Safari are also good) then fix it in IE later. Keep on asking questions.
The biggest difficulty for you is going to be getting out of the 'tables' mindset. CSS layout requires a subtly different way of looking at the page and deciding how to break it down. The only real way of getting into the new mindset is practise practise practise. Do small projects to start yourself off then work your way up.
Please note that I don't want to start another thread on "tables vs. CSS". I just feel that sometimes it needs to be said that tables are not necessarily a bad choice.
Also, tables and CSS are not mutually exclusive. Table elements can be styled through CSS just like any other page element.
There's a LOT of really neat and useful things there, including a "Grids" package which includes some templates for laying out your page in a grid-like pattern (similar to how you might plan a table based layout):
[developer.yahoo.com...]
Very easy to implement and doesn't use tables for layout.
But to redesign a complete site from tables to CSS is a waist of time and money.
I apply CSS to all "landing pages" or "keyword ranking" pages because I want to control the exact location (order) of the string of text being presented. Example: use a spider simulator to look at the text that is returned. To move the text around you will have to play with colspan and rowspan.
But by moving the <div up or down in the code, you can change the order of presentation. Run the spider simulator again.
This is why all the SEO firm are pushing CSS. A CSS designed page will usually rank higher that a "table" page if every thing else is equal. It is not that CSS is better, it just allows for SEO tuning the order of content presentation.
I recommend that you use CSS on all highly competitive keyword pages. But don't redesign a site. You will have plenty of time on other projects to do it. And CSS does not add or subtract from PR.
This is a great example of where a benchmark would be very educational.
Jim Catanich