• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

how to add translucent html code

anyone know how to create translucent page so you can see the background,   like the one on this website see sidebar,   you can still see background.

I need a method that will work on any browser.

  • 2
1 Solution
it is a simple background declaration of an image and tranparent background.:

url("//www.blogblog.com/1kt/travel/bg_black_50.png") repeat scroll left top transparent;

Open in new window

The image is a simple 5px by 5px png with an opacity that allows the background to show through.  You should be able to duplicate it in just about any graphics tool that supports png.

"I need a method that will work on any browser."

is a requirement that guarantees there is never going to be a complete solution, because there is no such thing as code that works the same on ALL browsers.  This will work for most modern browsers, but some older browser have limited support for png and transparency.

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.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now