Need advise on how to approche nested table with css.

P

paul dallaire

HI! I am modifying a site which was made with adobe image ready ( slice and
dice) which is really fat and needs some major trimming down.

I plan to remove all the formatting and use css instead as I want to keep it
clean and consistent.

Now there are many nested tables and I need some advise as a general rule in
applying css code to many nest tables.

Do we start with little formatting on the most outer table and work inward
adding for formatting as we go OR do we set most of the formatting in the
outer table and then use classes to define specifics?

I realize that there is many way to skin this cat but what I am looking for
is a general rule of thumb from experience users in css.

Also if there is some major things to avoid and beware of would be nice. :)

Paul
 
S

Stefan B Rusynko

The way browsers cascade CSS into tables is inconsistent (at best)
- may result in unexpected results

I would recommend applying the styles to the inner tables where they are actually needed

IMHO
AGL tends to create way to many nested tables (w/ unnecessary spacer cells) that you can probably remove and simplify the pages




| HI! I am modifying a site which was made with adobe image ready ( slice and
| dice) which is really fat and needs some major trimming down.
|
| I plan to remove all the formatting and use css instead as I want to keep it
| clean and consistent.
|
| Now there are many nested tables and I need some advise as a general rule in
| applying css code to many nest tables.
|
| Do we start with little formatting on the most outer table and work inward
| adding for formatting as we go OR do we set most of the formatting in the
| outer table and then use classes to define specifics?
|
| I realize that there is many way to skin this cat but what I am looking for
| is a general rule of thumb from experience users in css.
|
| Also if there is some major things to avoid and beware of would be nice. :)
|
| Paul
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top