Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/angel/public_html/tutorials/tables/css.php on line 1

Warning: include(http://dream-ling.net/header.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/angel/public_html/tutorials/tables/css.php on line 1

Warning: include() [function.include]: Failed opening 'http://dream-ling.net/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/angel/public_html/tutorials/tables/css.php on line 1

USING EXTERNAL CSS

Sometimes it's hard to edit the tables on all your pages when you change layouts, so using external CSS, it's easier.

I gave my table a name/class. You can name it whatever you want. I named mine content.

table.content { padding: 2px 2px 2px 2px; spacing: 0px 0px 0px 0px; border: 1pt dotted #93BEFF; text-align: justify; font-weight: normal; color: #000080; width: 100%; valign: top; font-size : 12px; } Now, use <table class=content>whatever</table> Your class="whatever" has to be the name that you named it in your CSS file.

For your border, you can have it dotted, dashed, solid or whatever (I forgot what else there is. I only use those 3). I usually set it as none, solid or dotted. I think those are more common. Color is the color of your text.

You can also make one for tr and td.

This tutorial was written by Lingling. Don't take my images or copy my tutorial and put them on your site. Thank you!
WRITTEN ON: SEPTEMBER 10, 2004

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/angel/public_html/tutorials/tables/css.php on line 30

Warning: include(http://dream-ling.net/footer.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/angel/public_html/tutorials/tables/css.php on line 30

Warning: include() [function.include]: Failed opening 'http://dream-ling.net/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/angel/public_html/tutorials/tables/css.php on line 30