English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm trying to make a transparent image background. Does anyone know the html code for this? Im also trying to find a html code to make an image : sepia tone or black and white.

2007-10-15 08:17:25 · 2 answers · asked by femgirl 1 in Computers & Internet Programming & Design

2 answers

You can't modify images with html as far as I know you need action scripting like asp or some other web application to do this. If you want a transparent background, use a photo editor program and delete the background layer. Save the image in .gif format and the background transparency will be kept Jpeg images cant be transparent.

2007-10-15 08:21:52 · answer #1 · answered by Anonymous · 1 0

Making an image background transparent, isn't a matter for html...it's all in the image-editing program. You must create a .gif or .png image, setting up shades of color defined as transparent.

Then, you simply (in the web page) set up the usual html My picture (or "whatever.png")

Or maybe...if what you're trying to do is...place a background that fades into an image... then use CSS. Define the area using a



then in your CSS place something like, say,

div#thisarea { background: #555 url('mypic.png') repeat-y right top; }

...which would give you a dark-greyish area fading into whatever gradient image you created, for mypic.png, containing color #555 on the left side and fading into some other color on the right...

2007-10-15 08:31:22 · answer #2 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers