Page background : designtime - runtime

I have the loginpage with a background image (<body background="login_overallback.jpg">)
In designtime, I see the background image but during runtime the background becomes white.
Any help ?
LVL 1
vu3lmgAsked:
Who is Participating?
 
RamuncikasConnect With a Mentor Commented:
Instead of using background attribute of body tag I'd suggest to use CSS.
Add CSS file to your project, put this in code in it:
body
{
background-image: url(login_overallback.jpg);
}

and add link to this css in your page:


This is not a solution to your problem but it is a good alternate.

R
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.