The table HTML element

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Here is some text from a book that I read.

After the title of the page(which is enclosed is HTML <h1> tags to get
large, title-style text),
the main body of the form is enclosed in an HTML <table>. You could use a
Web server control table,
but this introduces unnsecessary complexity because you are using a table
purely for formatting the display,
not to be a dynamic UI element(an important point to bear in mind when
designing Web form - don't add Web server control unnecessarily).
Can somebody explain what the book mean with saying "not to be a dynamic UI
element" ?

//Tony
 
Here is some text from a book that I read.

After the title of the page(which is enclosed is HTML<h1> tags to get
large, title-style text),
the main body of the form is enclosed in an HTML<table>. You could use a
Web server control table,
but this introduces unnsecessary complexity because you are using a table
purely for formatting the display,
not to be a dynamic UI element(an important point to bear in mind when
designing Web form - don't add Web server control unnecessarily).
Can somebody explain what the book mean with saying "not to be a dynamic UI
element" ?

My guess would be:

non dynamic = not modified by code

Arne
 
Here is some text from a book that I read.

After the title of the page(which is enclosed is HTML <h1> tags to get
large, title-style text),
the main body of the form is enclosed in an HTML <table>. You could use a
Web server control table,
but this introduces unnsecessary complexity because you are using a table
purely for formatting the display,
not to be a dynamic UI element(an important point to bear in mind when
designing Web form - don't add Web server control unnecessarily).
Can somebody explain what the book mean with saying "not to be a dynamic
UI element" ?

There is a great push in the Web community to get away from using functional
tags for layout purposes. The <table> tag was made with a specific purpose
in mind: to display tabular data. It was co-opted to be a major layout tool.

Professional designers prefer to use CSS to layout (that's what it's for,
after all) and not tables, but of course there's still backwards
compatibility to worry about.

Here's a nice site with all sorts of info on using CSS for layout instead of
just tags: http://css.maxdesign.com.au/index.htm
 
Back
Top