Saturday, March 31, 2012

Table where I want to draw a border around the whole table but not

If you are asking about a .net table you can do:
Table table = new Table();
table.Style.Add("border-width","1px");
table.Style.Add("border-color","#000000");
table.Style.Add("border-style","solid");
Or just an html table:
<table border="0" style="border-width: 1px; border-color:#000000;
border-style: solid;">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
And there is a ton of different borders you can use, just google css
border-style
"UJ" wrote:

> I have a table with multiple cells and I want to draw a box around the
> entire table but not around the individual cells. How do I do that?
> TIA - Jeff.
>
>But doesn't that put a border around everything including the cells? I need
just a border around the outside of the table.
"Jeremy" <Jeremy@.discussions.microsoft.com> wrote in message
news:D2B4AD7F-6FE3-456F-BF01-AC215EF764B2@.microsoft.com...
> If you are asking about a .net table you can do:
> Table table = new Table();
> table.Style.Add("border-width","1px");
> table.Style.Add("border-color","#000000");
> table.Style.Add("border-style","solid");
> Or just an html table:
> <table border="0" style="border-width: 1px; border-color:#000000;
> border-style: solid;">
> <tr>
> <td> </td>
> <td> </td>
> </tr>
> <tr>
> <td> </td>
> <td> </td>
> </tr>
> </table>
> And there is a ton of different borders you can use, just google css
> border-style
> "UJ" wrote:
>
"UJ" <fred@.nowhere.com>'s wild thoughts were released on
Thu, 8 Jun 2006 16:28:28 -0400 bearing the following fruit:

>But doesn't that put a border around everything including the cells? I need
>just a border around the outside of the table.
Have you tried it?
J

>"Jeremy" <Jeremy@.discussions.microsoft.com> wrote in message
>news:D2B4AD7F-6FE3-456F-BF01-AC215EF764B2@.microsoft.com...
>
Jan Hyde (VB MVP)
A friend of mine just had her 11th baby. Everyone says she's overbearing
(Megan Waves)
I just tried it and it shows the borders on the cells also. Remember - I
just need a border around the entire object - no each individual cell.
TIA.
"Jan Hyde" <StellaDrinker@.REMOVE.ME.uboot.com> wrote in message
news:jjdi821qndfr94ie161fm83mefg2d96a9u@.
4ax.com...
> "UJ" <fred@.nowhere.com>'s wild thoughts were released on
> Thu, 8 Jun 2006 16:28:28 -0400 bearing the following fruit:
>
> Have you tried it?
> J
>
>
> Jan Hyde (VB MVP)
> --
> A friend of mine just had her 11th baby. Everyone says she's overbearing
> (Megan Waves)
>
"UJ" <fred@.nowhere.com>'s wild thoughts were released on
Fri, 9 Jun 2006 16:38:26 -0400 bearing the following fruit:

>I just tried it and it shows the borders on the cells also. Remember - I
>just need a border around the entire object - no each individual cell.
I can't recraete your problem, my tables are set up in
exactly the way you want (my style sheet sets border-right,
border-top etc) and in IE6, Firefox and Opera I only get a
border round the whole table, cells are unaffected.
J

>TIA.
>"Jan Hyde" <StellaDrinker@.REMOVE.ME.uboot.com> wrote in message
> news:jjdi821qndfr94ie161fm83mefg2d96a9u@.
4ax.com...
>
Jan Hyde (VB MVP)
Polarize: What penguins see with (Hershy)

0 comments:

Post a Comment