Start New Discussion within our Web Development Community

I would like to know the replacement for the background color in a table: bgcolor.

>I would like to know the replacement for the background color in a table: bgcolor.

Yes, you can. Write JavaScript/jQuery code.

Do you not have a stylesheet (css)?

It's messy but an alternative...give your table an Id then in the pageload:

tableId.Attributes.Add("style", "background-color:#ccc");
This article has been dead for over six months. Start a new discussion instead.