hi
I used below code for background image:
body.Style["background-image"] = Page.ResolveUrl("~/image/BGheader21.png");
I want image repeat-x like below
background:url(../image/BGheader21.png) repeat-x;
how I can do it?
Best Regards
Neda
this way
this.body.Style["background-image"] = Page.ResolveUrl("~/Lighthouse.jpg"); this.body.Style["background-repeat"] = "repeat-x";
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.