Image representing the FAQs category

How Do I Change the Background of an HTML Element Through Code?

Published 19 years ago

With a little bit of JavaScript, it's easy to change the background image of any object through code. All you need to do is retrieve a reference to the element you want to change, and then set its style.backgroundImage property.

Read on ...
Image representing the FAQs category

How Do I Hide Screen Elements When a Page Is Printed?

Published 20 years ago

It's often useful to hide certain elements when a page gets printed. For example, your Navigation Menu, or a Search button are usually pretty useless on paper.

Read on ...
  • «First
  • Previous
  • 1
  • Next
  • »Last

Mobile: False

Crawler: True

I: False