setting background image in Page_Load

T

ton

Hi,

I want to set the background image of my page in the Page_Load event of my
webpage (I'm using VB)

the source shows:
<body id="doc" style="background-image: url(Images/Background.png);
background-attachment: fixed; background-position-y: top;"> &nbsp;<form
id="form1" runat="server">
and so on


How can I do this in the Page_Load event. Which control is the doc control
in which I can modify the style
The reason is that I want my users to change this background image

Thanx


ton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top