dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Beginner
Mar 7, 2018

Make Your Web Page Background Image Stationary

If you want to insert a static background image on your website, you can do this by adding attributes to the labels in the HTML code.

If you apply the code below, background images stay in place even while the page is scrolling.

<body background="mybackgroundimage.gif" bgproperties="fixed">
Octavia Anghel
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date