Information
Placing text over an image can sometimes make it difficult to read, but with these methods the background for the text is made 'opaque' using various methods of opacity (including css3) and the black text is then quite readable.
Note that I have used two 'text' divs for method 1. One to hold the background opacity and the other to hold the text. If the text was placed in the same div as the opaque background then it too would become opaque.
Only one text div is required for methods 2, 3 and 4.
5th September 2006
Works in Internet Explorer 7 (RC1).
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
Recommended Sites
- Web design in Dorset
Bournmouth based web design agency - VPS Hosting
Virtuozzo VPS Hosting - $19.95/mo - SEO
First Rate - Australian SEO Company - CSS Menus
A CSSplay develoment - Create Free Flash website
Create amazing websites with Wix.com - web hosting, dedicated servers
web reseller, managed servers
"The
web site uses
CSS Play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."
Damon Clark - Brandwidth
CSS play pages





