Link to home
Start Free TrialLog in
Avatar of heyday2004
heyday2004

asked on

ASP.NET server control Table: Can I set a background image? How to make the table fancier?

I found if I use Frontpage, etc to create a static table, I can change the background images easily. But with ASP.NET server control, I found I can't set the background images to the returing server produced tables. (I can change the background color though). Any idea about that? The reason I want this is because i have an application where the returned table will occupy half of the page area. I want to make this table fancier, more consistant with background. Seems I can't do everything as I did to make a fancy table as I did to static tables when I used Frontpage, DreamWeaver, etc.  Thanks for any suggestions.

-Scott
SOLUTION
Avatar of mmarinov
mmarinov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of heyday2004
heyday2004

ASKER

Thanks a lot for the answers. I tried both, there is no problem in compiling stage. But still, the table background image is not shown in the returned server table. Seems the background image is hidden or coverred. I really don't know now if we could change the background image of the server table now. My table is a very normal asp.net table. Three rows, each rows returns a row of the records in the database. Any hint is really appreciated. Thanks.
I mean, I can set the background images as shown above, but it's not what I expected, it only showed up at the border of the table, i.e. the table cell's background still not changed, what I want is a background image that can cover the whole table, and most importantly, it can be seen from user like the text are on the background images (we can do this in static page using Frontpage etc.). Any hint? Thanks a lot.
in what browser do you test your page ?

B..M
mmarinov
I am using IE6. The background image is set, but it is coverred by the front cells. Any idea? Thanks.
do you have set some syles or background images for the tablecells ?

B..M
mmarinov
Actually, no.
can you post the reulted HTML ?

B..M
mmarinov