Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transparent background -Watermark

Status
Not open for further replies.

spirit66

Technical User
Apr 10, 2004
29
US
Hello, I was wondering if there is any way to have a transparent background-as watermark .
For ex: I have a html page and want to have a caption "XYZ" as a transparent background .
Thanks!!
 
not sure I understand... a background is, as it says, a backbround and all other page content is "on top" of any background image you may be using. So, the need for a "transparent" background just doesn't make any sense.

There's always a better way. The fun is trying to find it!
 
Not sure if this is what you mean, but you could try:
Code:
<style>
body {
	background: url(watermark.gif) no-repeat center middle;
}
</style>
<body>
This is the body.. blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
</body>

Hope this helps.

Pete.


Web Developer & Aptrix / IBM Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
I guess i wasnt clear enough . I apologize for that . But I did figure it out though .All i wanted to was something opaque or transparent which can be achived using filters.
Code:
<style>
.opaque {
  	-moz-opacity: .5; /* moz requires fraction */
  	filter: alpha(opacity=50);
  }
 </style>

Thanks for your help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top