planeboy7e7 typed:
Quote:
so there is no way to create a thin border with just the regular
border function in dreamweaver? does it definitely have to be done in
CSS? |
Using CSS is the best way, nothing too difficult about it really.
Just copy and paste the following just before the closing </head> tag.
<style type="text/css">
<!--
..thinborder {border: 1px solid #colorofchoice; }
-->
</style>
And then apply the class to the table.
<table class="thinborder">
or if you really want to you can use a nested table, however, it is not
really the correct way to do it - it is not really valid html code. You are
better off learning how to do it correctly from the outset by using css.
Just looking at the code, you can see that the css method uses a lot less
code, so you have a cleaner, leaner page
like this:
The out table has a black ground and with padding set to 1 and spacing set
to 1. You then insert an inner table.
Gives the effect of a black border. copy and paste the following between the
<body> </body> tags on a new page.
<table width="100%" border="0" cellpadding="1" cellspacing="1"
bgcolor="#000000">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFFFF">
<tr>
<td>text goes into this inner table</td>
<td align="right">more text into 2nd cell</td>
</tr>
</table>
</td>
</tr>
</table>
--
Nadia
-----------------
*Free Templates *Dropdown Menu Templates*
http://www.DreamweaverResources.com
*Templates - HTML and CSS Validated *
*Free Nav Bar Sets*
*Resources : Ecommerce : SEO Articles*
-----------------