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.
views:
97answers:
2
+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
2009-07-28 18:52:35
+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
2009-07-28 18:53:33
Saw that yesterday. Just spent five minutes looking for it - you found it first ;)
Jonathan Sampson
2009-07-28 18:57:07
+1 - Nice - never seen that add-on before
Russ Cam
2009-07-28 18:58:18
Pixel Perfect is wonderful.
Jergason
2009-07-28 19:31:50
wow thank you! much
2009-07-28 19:43:16