Dreamweaver Resources Dreamweaver Resources - Templates - CSS Templates
Web Page Templates Nav Bars &  Web Page Tempates Free Templates Dreamweaver Resources & Tools Ecommerce Software Search Engine Optimisation Dreamweaver Tutorials Books
 
Page 1| Page 2 | Page 3 | Page 4 | Template Packages | Template Sale

 

RESOURCES :: Mini Tutorials:: Table Border using CSS

Setting a class or ID for table border:

This goes in your stylesheet:

OR directly on your page:

Cut this code and paste it directly before the closing </head> tag of your pages code. The </head> is near the top of the page in code view.

<style type="text/css">
<!--
.borderTable {
padding: 2px 4px 2px 4px;
border: 1px solid #660000;
}
-->
</style>

and apply to the table

<table class="bordertable">

Setting an ID for table border:

This goes in your stylesheet:

OR directly onto your page:

Cut this code and paste it directly before the closing </head> tag of your pages code. The </head> is near the top of the page in code view.

<style type="text/css">
<!--
#borderTable {
padding: 2px 4px 2px 4px;
border: 1px solid #660000;
}
-->
</style>

and apply to the table

<table id="bordertable">

Tutorial Home >>