Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Using XHTML with CSS pages using div

Apr 29, 2007 2:25AM PDT

On one page i would like to put a table within one of the major div,s. Will this be possible??

Discussion is locked

- Collapse -
You can use a table within a division
Apr 29, 2007 8:31PM PDT

if you have tabular data to display, you can always use a table.

However - do you really need XHMTL? Unless you're using XML, there's no need, and here can read all about why: Killersites

- Collapse -
Thanx for the link
Apr 30, 2007 6:09AM PDT

very interesting (making believe that I really understand it, LOL) Will experiment with various DTD when I get all the pages coded. None of the pages are very complicated.

Using All Web Menus to ceate the menu, will soon find if my XHTML transitional allows it to work.

- Collapse -
yes its possible but ..
May 9, 2007 3:53AM PDT

I would have to ask myself if the reason I am using the table is to position elements in a certain design, then I would be able to make a page design using css positioning, and avoid the use of a table altogether.

However, if the reason why I am using a table is to present content that naturally fits into a tabular format ie.. bus schedule, yearly quartely earnings, I will use the table and try to follow WCAG recommendations http://www.w3.org/TR/WCAG10-HTML-TECHS/#tables