To be honest, I prefer the table approach. You can do great things with CSS
positioning, but it can be easy to create strange visual errors. Not to
mention that it always seems that after you design with CSS there's at least
one browser you didn't check with that has a visual error
I like to use the tables for the general structure and often rely on the
divs if I need something special, such as hideable text through javascript,
etc.. I still use CSS in my app, I've just kept away from the absolute
positioning as it just seems to take so much time to get it right compared
to tables.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"NH" <> wrote in message
news

2821A44-4C66-44D4-AE9C-...
> Hi,
>
> What do you recommend for defining the layout of an asp.net 2.0 page?
> Leaving masterpages and user controls aside for the moment is the use of
> tables or Divs the best approach?
>
> I have been using tables so far to define the layout and use % based sizes
> so things stretch or shrink to fit the screen size. It works fine.
>
> I read about using DIVs and saw this approach being used in some MS
> Asp.net
> design templates. They use divs and use CSS to handle the layout.
>
> Which is best, does it matter at all?