Tables and DIVs

liunx

Guest
Hi

If I wanted to use a present coded table in tabular form -- which is a 4 column 10 row used for links---

Is there a way of starting the table in a <div id="table"> ??? or other way, as I want to keep the tables in tabular form ??

Appreciate your thoughts --- Tables are acceptable in the tabular way as opposed to using them to positioning

:)Since a TABLE elment is block-level, you can use it in positioning in the same fasion as a DIV. The only difference, obviously, is the purpose of the element. Just because it is for tabular data does not mean you cannot use CSS to format it.Hi Jonah :)

What blockcode would that be please ?? -- i am new at this, please be simple :)

What do you mean "you can use it in positioning in the same fasion as a DIV." ??

Just started learning css. :confused:

We all have to start --- :)Hi -
No, not blockquote - as in adding margins to an area of text...

What they mean is that some html elements are inline (img, i, b, etc.) and others are block-level (div, p, h#, table, ul, etc.). A block-level element will display vertically in the 'flow', and inline will bump up against each other horizontally - only starting a newline when they run out of room in the parent element's 'container'.

So, since a table will display block-level, as a div would, you may not need to 'house' it within one, unless the rest of the content makes it necessary.

(I think.)

Good luck,
ElHi LJK

Thanks so very much -- so its ok as it is, :)

Its hard getting to grips with it.,:)
 
Back
Top