Use <div> or "Table" for ASP.Net page design?

eramgarden

Well-known member
Joined
Mar 8, 2004
Messages
579
I was reading (now i cant find the link) that its better to use <div> to design pages in ASP.Net instead of Tables because it takes time for tables to render..

is this correct? If so, per this page, <div> is used with Absoulte positioning. I thought pages should have relative positioning... http://www.lissaexplains.com/html7.shtml
 
It really depends on the page layout - if the page has a tabular design then a tbale is fine. If the page has a more fluid layout and you find the <table> structure is getting far too complex then <div>s are a definate possibility.

Depending on how you are doing the rendering to html http://www.asp.net/cssadapters/Default.aspx may be worth a read.
 
Back
Top