Showing posts with label trouble. Show all posts
Showing posts with label trouble. Show all posts

Wednesday, March 28, 2012

Tables

Newbie here.

I'm hasving trouble with tables in Visual Web Developer Express.

I've set cellspacing and cellpadding to zero, but there's spaces around
objects in my table.

Any idea what's going wrong?Hi

Check whether you have assigned some width for every table cell (<td>),
which is giving you this experience. Try to set the width as zero and see how
it appears.

Prem
Newbie here.

Quote:

Originally Posted by

>
I'm hasving trouble with tables in Visual Web Developer Express.
>
I've set cellspacing and cellpadding to zero, but there's spaces around
objects in my table.
>
Any idea what's going wrong?


Where do you see those spaces? In the designer or in the resulting
webpage in the browser?
The designer might show spaces (and borders) to make the layout clear.
If in the browser, check the resulting html code ("view source") to see
if you can find a reason for those spaces there.

Hans Kesting

Monday, March 26, 2012

Tables Asp.Net Visible property

Hi guys,
im having serious trouble with my tables in asp.net. i inherited a
system that allowed me to set my tables visble property to true and
false. When i try and create a table using html i do not have that
property.
does anyone know of a different way to create a table '
the system i inherited with the visible property in the tables uses
the following in the top part of the code -
system.web.ui.htmlcontrols.htmltable
is this the reason for the extra property '
my tables dont seem to have this in the code.
thanks
CGHy,
put an asp:panel around your table and you can set the visible property.
<asp:panel id="pan" runat="server">
<table>
<tr>
<td></td>
</tr>
</table>
</asp:panel>
Greez
The Filzmeister
Colin Graham schrieb:
> Hi guys,
> im having serious trouble with my tables in asp.net. i inherited a
> system that allowed me to set my tables visble property to true and
> false. When i try and create a table using html i do not have that
> property.
> does anyone know of a different way to create a table '
> the system i inherited with the visible property in the tables uses
> the following in the top part of the code -
> system.web.ui.htmlcontrols.htmltable
> is this the reason for the extra property '
> my tables dont seem to have this in the code.
> thanks
> CG
You can operate with css rules display and visibility.
Eliyahu
"Colin Graham" <csgraham74@.hotmail.com> wrote in message
news:ee261922.0504210322.483c2912@.posting.google.com...
> Hi guys,
> im having serious trouble with my tables in asp.net. i inherited a
> system that allowed me to set my tables visble property to true and
> false. When i try and create a table using html i do not have that
> property.
> does anyone know of a different way to create a table '
> the system i inherited with the visible property in the tables uses
> the following in the top part of the code -
> system.web.ui.htmlcontrols.htmltable
> is this the reason for the extra property '
> my tables dont seem to have this in the code.
> thanks
> CG
Christian Filzwieser wrote:
> Hy,
> put an asp:panel around your table and you can set the visible
property.
> <asp:panel id="pan" runat="server">
> <table>
> <tr>
> <td></td>
> </tr>
> </table>
> </asp:panel>
>
<asp:PlaceHolder> may be a better choice because it doesn't generate
any contents itself.

Tables Asp.Net Visible property

Hi guys,

im having serious trouble with my tables in asp.net. i inherited a
system that allowed me to set my tables visble property to true and
false. When i try and create a table using html i do not have that
property.

does anyone know of a different way to create a table ??

the system i inherited with the visible property in the tables uses
the following in the top part of the code -
system.web.ui.htmlcontrols.htmltable
is this the reason for the extra property ??

my tables dont seem to have this in the code.

thanks

CGHy,
put an asp:panel around your table and you can set the visible property.

<asp:panel id="pan" runat="server">
<table>
<tr>
<td></td>
</tr>
</table>
</asp:panel
Greez
The Filzmeister

Colin Graham schrieb:
> Hi guys,
> im having serious trouble with my tables in asp.net. i inherited a
> system that allowed me to set my tables visble property to true and
> false. When i try and create a table using html i do not have that
> property.
> does anyone know of a different way to create a table ??
> the system i inherited with the visible property in the tables uses
> the following in the top part of the code -
> system.web.ui.htmlcontrols.htmltable
> is this the reason for the extra property ??
> my tables dont seem to have this in the code.
> thanks
> CG
You can operate with css rules display and visibility.

Eliyahu

"Colin Graham" <csgraham74@.hotmail.com> wrote in message
news:ee261922.0504210322.483c2912@.posting.google.c om...
> Hi guys,
> im having serious trouble with my tables in asp.net. i inherited a
> system that allowed me to set my tables visble property to true and
> false. When i try and create a table using html i do not have that
> property.
> does anyone know of a different way to create a table ??
> the system i inherited with the visible property in the tables uses
> the following in the top part of the code -
> system.web.ui.htmlcontrols.htmltable
> is this the reason for the extra property ??
> my tables dont seem to have this in the code.
> thanks
> CG
Christian Filzwieser wrote:
> Hy,
> put an asp:panel around your table and you can set the visible
property.
> <asp:panel id="pan" runat="server">
> <table>
> <tr>
> <td></td>
> </tr>
> </table>
> </asp:panel
<asp:PlaceHolder> may be a better choice because it doesn't generate
any contents itself.