PDA

View Full Version : [vB3 5] How do I add a border to..



Mainer82
Tue 12th Aug '03, 8:28pm
I'd like to have a black border around the edge (see the arrow in the attachment).

And, where it says Computer Help forums, the CSS cap effect is choppy in Mozilla, is there any way I can fix it so it's smooth?

Note that this is on my beta site so it's not accessible to the public... I'm just testing features and themes/logos.

phill2003
Wed 13th Aug '03, 3:59am
I'd like to have a black border around the edge (see the arrow in the attachment).

And, where it says Computer Help forums, the CSS cap effect is choppy in Mozilla, is there any way I can fix it so it's smooth?

Note that this is on my beta site so it's not accessible to the public... I'm just testing features and themes/logos.


well i did it by putting this
<table width="100%" height="8" border="0" cellpadding="0" cellspacing="0" bgcolor="#CDD2D9">
<tr>
<td width="12" height="8" align="left" valign="top"><img src="xxxxx/topleft.gif" width="12" height="8"></td>
<td width="100%" height="8" align="left" valign="top"><img src="xxxxx/table.gif" width="100%" height="8"></td>
<td width="12" height="8" align="left" valign="top"><img src="xxxxx/topright.gif" width="12" height="8"></td>
</tr>
</table>


above this in the header
<table bgcolor="#CDD2D9" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>

then this
</td>
</tr>
</table>
<table width="100%" height="8" border="0" cellpadding="0" cellspacing="0" bgcolor="#CDD2D9">
<tr>
<td width="12" height="8" align="left" valign="top"><img src="xxxxx/left.gif" width="12" height="8"></td>
<td width="100%" height="8" align="left" valign="top"><img src="xxxxx/table.gif" width="100%" height="8"></td>
<td width="12" height="8" align="left" valign="top"><img src="xxxxx/right.gif" width="12" height="8"></td>
</tr>
</table>
above this
</td>
</tr>
</table>

<!-- /content area table -->

in the footer

Gavin.
Wed 20th Aug '03, 9:57am
Just use some CSS for the non-graphical parts. You'll need to put the black border around the corners manually, after that just put:



<td style="border-left: 1px solid #000000;">


in the table cells that need it (change left to right, bottom and top where respective to the cell their in) :)

Funkie
Sun 11th Jan '04, 12:54pm
You can add corners easy in vb3 just put this in the header

<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
<tr>
<td align="left" valign="top"><img src="images/topleft.gif"></td>
<td align="right" valign="top"><img src="images/topright.gif"></td>
</tr>
</table>

and this in the footer

<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
<tr>
<td align="left" valign="top"><img src="images/bottleft.gif"></td>
<td align="right" valign="top"><img src="images/bottright.gif"></td>
</tr>
</table>