|
| Give your Tables a Pre-Set Width
Tired of tables taking up too little/too much space? Want to set your table widths to a pre-defined amount? Have I got the tip for you!
When you write your <TABLE> tag to define a table, add this:
<TABLE WIDTH="width">
You can replace "width" with either a size in pixels or a percentage of the page. For example, the first table would have a width of 500 pixels, while the second table would have the width of 50% of the page width.
<TABLE WIDTH="500">
<TABLE WIDTH="50%">
Add:
Del.icio.us |
Digg |
Furl |
My Yahoo!
Discuss This Tip
Print This Tip
Get E-Mail When New Tips are Online
Return to the Web Development - Tables page. |