From: JohnE on
Is there a way to to not show any css bordering, coloring, etc if the field
does not have any information in it? Have a table and there could be a field
(label) that would have not info. The table is not bordered, the field in
the table cell is bordered.
Thanks.
John
From: James Parker on
>
>Is there a way to to not show any css bordering, coloring, etc if the field
>does not have any information in it? Have a table and there could be a field
>(label) that would have not info. The table is not bordered, the field in
>the table cell is bordered.
>Thanks.
>John
>
You might have to do this from code behind or using javascript.

If you are adding content to the table cell then you can set a different CSS class "border:none" if the content you added was empty.

You could also loop through using javascript / jquery to see if the html of a control is empty if so change the css class.

Hope this helps

j1mb0jay

-----------------------------------
Posted @ http://www.dotnethelp.co.uk