tags:

views:

97

answers:

2

i have a design that was done in illustrator and i exported it out as an image. i want to be able to have the image as a background and faded out. so while i do the html and css i can position everything exactly as the image has stated. i tried setting the image as a background and trying it like that but the background interferes with the content and its hard to see what im doing.

+1  A: 

You could set the CSS opacity on the background image.

Firefox, Safari and most browser use the opacity property, whilst IE uses filter:alpha(opacity). Something like the following

body {
        background-image: url('path_to_image.jpg');
        opacity : 0.4;
        filter: alpha(opacity=40);
     }
Russ Cam
+10  A: 

The Pixel Perfect add-on does what you want, allowing you to overlay a transparent image so you can compare and line up the bits of the page correctly to match the image.

Rich Adams
Saw that yesterday. Just spent five minutes looking for it - you found it first ;)
Jonathan Sampson
+1 - Nice - never seen that add-on before
Russ Cam
Pixel Perfect is wonderful.
Jergason
wow thank you! much