HTML color

April

Apriltini
Joined
Jun 8, 2000
Posts
14,446
Is there a code for "clear"? If so, what is it? Please and thank you.
 
No code for clear. Think what you're looking for is a 'transparent' gif. More into the coding than the design, but I'll see if I can dig up something.
 
Yeah, transparent. Clear, transparent, whatever. :)

See through, like good lingerie should be. Heh


It's for blurty. I'm trying something.
 
in that case, should just be in the gif file then. not actual html.
 
My web design is rusty, but I belive the closest you're going to get is to use an image, and make part (or all) of it transparent. Most image editing programs can do that - you select a color in the image that you want to be transparent, it marks that color in the file, and most browsers will then show the background color through that marked section.

First hit was a pretty nifty website that'll do it for you, provided you can link the image.

http://www.mit.edu:8001/tweb/map.html

If you really wanted 'clear' html, your only option is to make it the same color as the background. The text is there (drag across and it highlights in reverse), but essentially clear.
 
Just tried putting in a url instead of a color code. No dice. So I'll have to go with white instead.

I have a background and wanted the text box to be clear so as to show the background through. Oh well.

Thanks for the help though. It's appreciated. :)
 
WaxNWane said:
If you really wanted 'clear' html, your only option is to make it the same color as the background. The text is there (drag across and it highlights in reverse), but essentially clear.
By clear HTML, what I think most people really mean is clear text displayed using HTML.

I believe you can detect the background color and then set the color of text to that. If you just set it to white, then someone can override your background color using their own stylesheet and still see the text.

Why would someone want transparent text? :confused:

If you are trying to get a search engine hit without displaying the text, then there are much better ways to do this using meta tags.
 
Back
Top