Sent by Julian Rickards on 7 September 2003 18:06
On 7 Sep 2003 at 12:32, les mots enchantes wrote:
> The discussion about Table or not Table gave me a strange idea.
> Creating table without a table using <DL> <DT> and the display: Block
> properties DL will be the column and DT the cell. I understand that the in
> the reference book of Html it says that DT is just for a line and not
> for a block, but it works fine.
>
> You can position your table manage your cell and column using the
> usual properties height, width....
>
> All the the columns and cells must me in a <div>. This way if you move
> the div all the columns and cells will follow
>
> What do you think ? Is it a crazy idea :-))) ?
Crazy as Prime Minister Jean Poutine (Canadian joke). Actually,
this is not a great idea because you will be forcing a code
structure into a format with which it shares nothing. If you have
tabular data, don't put it into a DL list and force CSS to format it
as a table (which with browser support could very well be made to
look like a table) - use a table.
What many of us in the past have done is the reverse, to use
tables to form a list, such as a navigation bar list of links. What
many of use are now doing is to revert to the original and proper
structures - a navbar is a list of links, create it using <ul>, then
use CSS to make it look different. Ultimately, if CSS is taken
away, you end up with a list which may look different than the
CSS-styled version but its structure would not be questioned.
Jules
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/