homepage Welcome to WebmasterWorld Guest from 23.22.59.252
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Frames and Tables
jesstp

5+ Year Member



 
Msg#: 2564 posted 1:53 pm on Nov 15, 2005 (gmt 0)

Hi,

I am creating a homepage with a CV on it and have heard that I shouldn't use frames or tables and should do all formatting through CSS.

Is that true?

Also, as Im listing different types of block information should I be using <br> after the information or would that we silly?

Thanks in advance

 

webdoctor

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 2564 posted 2:03 pm on Nov 16, 2005 (gmt 0)

I shouldn't use frames or tables and should do all formatting through CSS.

frames aren't very search engine friendly - if someone gets referred to one of the frames without its parent frame they may not be able to navigate.

tables aren't great in terms of accessibility - see this page for more info (Guideline 5 talks about tables)
[w3.org...]

basically frames and tables are rather 1990s :-) using CSS is often better, and if you learn how to do CSS it's a useful skill

David Becker

5+ Year Member



 
Msg#: 2564 posted 4:05 am on Nov 19, 2005 (gmt 0)

I use both tables and css on my site, and have validated at priority 3 WAI-AAA with W3C. The trick is identifying each table with a summary within the code...

table summary="table for listing my favorite things".

This allows the readers for the blind and disabled to identify what the table's purpose is. When css is used on site, a few tables dress things up in a formal website, and do not clutter the "readers" with a bunch of messy code.

With blocks of text, the <blockquote></blockquote> tag will separate your differet points, without need of <br>. Using <br> is always allowable, but I think <blockquote>makes code cleaner when you can use it.

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 2564 posted 11:26 pm on Nov 21, 2005 (gmt 0)

Frames or Tables? Wrong answer...

You should construct your page using headings, paragraphs, and lists, with tables used only for data that is truly tabular in nature, not for page layout.

Once you have the semantic markup in place, styling the entire page using an external CSS file becomes so very much more easier.

jeremymack

5+ Year Member



 
Msg#: 2564 posted 7:53 pm on Dec 1, 2005 (gmt 0)

use CSS! its easy to learn once you understand its premise

only use tables for data stuff (i.e. spreadsheets, calendars etc.)

and its not <br>, its <br />.

you should get used to the new standards :)

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 2564 posted 8:03 pm on Dec 1, 2005 (gmt 0)

The <br /> notation applies only in XHTML documents.

For HTML, using <br> is absolutely correct.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved