1173 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
Motionreactor says

I’ve got a HTML / CSS problem with a website layout. I’m coding this up for a client, but the problem is they want a decorative transparent PNG to overlay above the page content. This is possible to do with position:absolute and z-index, but of course it blocks any selection, mouse clicks or other interactions with underlying content below. Is there any solution to this? Usually I avoid these kinds of elements in my own designs, but I’m just the coder for this project.

454 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • United Kingdom
Gareth_Gillman says

why not put it as a background and make all the content above it transparent to see the image.

1173 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
Motionreactor says

The content has to be visible and has to sit below the overlay. :(

371 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
  • United Kingdom
QwibbleDesigns says

As far as I know, you can’t cover up a bunch of elements with a transparent overlay, and still be able to interact with them, because this new div is on top. You can’t position it behind, because you lose the effect but can now click. I think it’s a one or the other thing, unless someone can come up with a genius solution =)

444 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United Kingdom
TahaH-Studio says

allright, say the overlay image is a massive square that has a blank circle in the middle of it were the content should be place. My Idea is to use that overlay image as the background of the content that will be displayed through it, then you can use the following plugin to wrap your content to fit the place that it should be displayed in. SOrry about my crappy english but I hope you got the point.

Here is the link http://www.csstextwrap.com/index.php

Edit: What can you do with this plugin

1173 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
Motionreactor says

Hmm, yeh…. I figured this wasn’t possible. I already knew this, but was hoping there may be a genius solution. Thank you for the suggestions, the design will have to change a little. The only other way I know is using Flash, but it really doesn’t suit the purpose for this case.

by
by
by
by
by
by