Re: Borders in PHP
| From: | Samantha Savvakis | Date: | Thu, 20 Jun 2002 05:58:37 +0000 |
| Subject: | Re: Borders in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103083@lists.php.net to get a copy of this message | ||
Hi,
This is a HTML question as Brad had replied.
Try something like this with tables. The border attribute is 0. This
technique is a combination of the cellspacing and the background colour.
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<table border=0 cellpadding=4 cellspacing=1 bgcolor='red'>
<tr bgcolor='white'>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
</td>
<td>
<table border=0 cellpadding=4 cellspacing=1 bgcolor='green'>
<tr bgcolor='white'>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
</td>
</tr>
</table>
Sam
"Adharsh Praveen R" <adarsh@multitech.co.in> wrote in message
news:3D11B786.B6BDA1E0@multitech.co.in...
> Hai
>
> How to draw borders in PHP.? (other than using <table border="1">).
>
> Is there any way of drawing vertical lines in PHP?
>
> Any ideas please explain.
>
>
> I have 10 fields in a page. I want to enclose 3 fields each in one
> border with a
>
> different colour for each border.
>
> Thanks in advance.
>
> regards,
> adharsh.
>
>