Outer Court

Tech - Posts to comp.infosystems.www.*

From: "Philipp Lenssen" <phil@mrinfo.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: cascading style sheets
Date: Mon, 3 Dec 2001 10:28:48 +0100
Message-ID: <9ufip3$8id$1@swifty.westend.com>
"newstart" <lisa_haskins@hotmail.com> wrote in message
news:58093e0.0112011634.235ab8dc@posting.google.com...
>..
> Does anyone out there have any experience using style sheets to
> overlay blocks of transparent color on top of graphics. I am trying to
> build a homepage with a background graphic and would like to position
> blocks of color over it that will still permit the graphic to show
> through.
>..

You can do this by using a repeating CSS background-image inside an
absolutely positioned, absolutely sized div-block.
The image should be a GIF-file consisting of minimun 2 pixel high, 2 pixel
wide, 2 colors. One of the two colors is transparent, the other is the
actual colorizer, and together they make for a chessboard pattern. Now you
can e.g. darken an image by using black.

--
Philipp Lenssen
M+R Infosysteme
http://www.mrinfo.de





 
Basic
Goodies
Design
Tech
Email