Forum Moderators: martinibuster
To learn to make some really nice looking stuff including adsense like boxes go to the Webmaster World CSS forum and start learning CSS. Here is what I have in my style sheet for a nice thin border.
border-color: #CC9966; (or any color you want)
border-style: solid;
border-width: 1px;
<table class="1pxborder">....
<td class="1pxborder">...
the table border will put a border around the whole table only and the td border will put a border around each individual cell. You can put the class on either or both as required
(The HTML border="1" will do both, that's why it's thicker and you can't change it)
also in your CSS if you add
table {
border-collapse: collapse;
border: 1px solid #c96;
}
td {border: 1px solid #c96;}
this should mean that when 2 x cell borders meet they will collapse into a single pixel (note that the collapse rule should be applied to the table even if you decide only to go with a td border)
Suzy
However, unless you specify a border color, the border will have that stupid 3D effect which makes it thicker than you specify. CELLSPACING and CELLPADDING controls are also useful for creating interesting, precise spacing effects.