HTML/XHTML:Tables(DIV/XML)

Objectives
To show how Tables should be created using XML and CSS

Scrolling tables
The division tag (div) can be used to create scrolling tables in a web page. example. 1. Create a table of headings 2. add

&lt;div style="height:150px; overflow: auto;">

3. Create a second table with the data

4. add

&lt;/div>

to end the division For example

&lt;table> Code  Country &lt;div style="height:100px; width:50%; overflow: auto;"> &lt;table> &lt;tr> au Australia ... &lt;tr> nz New Zealand ... &lt;/table> &lt;/div>

If you want both vertical and horizontal scroll bars use overflow: scroll;