EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > D-Zine > Tables


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  Tables :
Pros and Cons








Tables are used widely for arranging information in tables but also for controlling the layout of pages.

Tables can be "invisible", meaning that the borders cannot be seen, allowing for designers to position content subtly. Tables are very versatile and a lot safer to use than frames. Tables can have the same appearance as frames and can even be scrolled by using CSS!

Code for tables can be saved in an external document.write JavaScript function and called for every page, allowing for a design that can be changed in one place. This would give the impression of frames.

Still don't believe?
The example below was created with nothing but HTML Tables and CSS:

This is a Heading

Some content...

This is a lot of text about nothing!

Wait a sec, I'll show you the code used to make this:

<table border="1" cellspacing="0" cellpadding="0" style="width:300px">
<tr>
<td bgcolor="#FFFFFF"><div style="overflow-x: auto;overflow-y: auto; width: 300px; height:120px; padding:3px; margin: 0px">
Content.
</div></td>
</tr>
</table>



The trick is to use the overflow-x and overflow-y CSS properties. Sadly, this CSS attribute is not supported in some browsers such as Camino for Macintosh.

 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!
FACT:
Internet Explorer can be locked so it won't show specific content.
TIP:
If your site is not rated with RASCi it can't be seen on parental locked browsers.





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho