HTML - Transparent Code?
I have a part in my site wherer if u go out of line, it will start a scrollin thing, ill show u how it is now.
on the part where it is squared in red instead of that color can i get it transparent? also on the outside of the arrows! p.s. here is the codes: Catagory: Code: <!--Other :Other--> <td valign="top"> <div class="content" style="position:relative; overflow: auto; width:150px; height:100px; left:-95px; top:700px;"> <font face="verdana" size="2"> Other<br> <!--Search Form Starts--> <center><FORM action="/cgi-bin/htsearch" method="post"> <input type="hidden" name="restrict" value="http://www.spt.pcaworld.net"> <input type="hidden" name="exclude" value="/index.html"><p> Search: <input type="text" name="words" size=20 maxlength=20 value=""> <input type="submit" value="Search"><br> Match: <select name="config"> <option value="htdig">with Extensions <option value="exact">Exactly </select> </form> <!--Credit Starts--> <!--http://htdig.sdsu.edu by Andrew Scherpbier andrew@contigo.com--> <!--Credit Ends--> </center> <!--Search Form Ends--> <!-- Start Bravenet.com Service Code --> <center><script language="JavaScript" type="text/javascript" src="http://pub38.bravenet.com/counter/code.php?id=401896&usernum=3260284116&cpv=2"></script></center> </div> </td> here is the style: Code: <!--Style--> <style type="text/css"> A:link { color: #000000; text-decoration: none; font-weight: italic;} A:visited { color: #EC0010; text-decoration: none; font-weight: normal;} A:hover { color: #000000; text-decoration: none; font-weight: normal;} body { SCROLLBAR-FACE-COLOR: #D70018; SCROLLBAR-HIGHLIGHT-COLOR: #D70018; SCROLLBAR-SHADOW-COLOR: #D70018; SCROLLBAR-3DLIGHT-COLOR: #D70018; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #FB0000; SCROLLBAR-DARKSHADOW-COLOR: #FB0000; BACKGROUND-COLOR: #000000; } .bgtable { border: 0px solid #000000; background-color: #EC0010; background-image:url("http://i12.tinypic.com/61n9q81.png"); width: 1007px; height: 802px;} .content { border: 0px solid #000000; color: #000000;} </style> <!--/Style--> plz help! Similar TutorialsHi people, I've search the net regarding this issue and from what I've gathered, images can only be transparent provided it's in the gif format. May I know is it possible to make png pictures transparent? I heard that's possible with IE 7, but I want a method that works with lowers versions of IE too. I'm trying to avoid CSS if possible, is there a code something like "style=transparent" that can be typed into the <img> tag? Thanks i'm trying to put a transparent png img on a colored background, in IE6 the transparent part of the img appears as a color instead of transparent how can i fix that??? the attached imgs shows how it's appearing in IE6 and FF Hi, As the title suggests, i need a code to make an iframe transparent. I know there are so many other sites and forums out there which give u the code to do this, but it don't seem to be working for me. What is wrong? Does this code need to be in the head tags of the page that contains the iframe or in the source page itself? Or does it need to be in the body? here is the bit i am talking about: HTML Code: <body STYLE="background-color:transparent"> Please could someone help me and give me step-by steps of what to put where. Thank you Hi, I have a header in blue, and the text is black. I would like the header to be a darker blue, and the text transparent. Could anyone help? Thank you. Nick Hi, I want to implement something like this into my website, with a single 'snipped-off' corner image on an otherwise square, bordered content surround. I'm really not sure what would be the best way to do it, though. Would you use divs or tables, and how exactly would you go about implementing it? ( example: ) P.S. the real layout isn't that hideous, thankfully--just clear colours so you can see what's going on. Any help would be greatly appreciated! J-L I am suprised i have never come across this before i am sure i must have tried adding a png with no background to a non-white page background and viewing it in IE6, so i have just found that IE6 gives a transparent png a bluey/grey background. After a quick google it seems thereis a solution for IE wwhich is to use, filter:progidXImageTransform.Microsoft.AlphaImageLoader() which i tried and it works as it should but i am suprised i have never seen or heard of this code before, consdering the amout of html code i have ever looked through which is a lot, someone must have used a transparent png on their site, what am i missing why have i never seen this before ?? Hi, I have to make my div transparent so that content(text and image) of container div donot become transparent. Attaching my code u can change image name. Code: <html> <head> <title>Image opacity script - www.designplace.org</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> .transparent{ filter:alpha(opacity=30); -moz-opacity: 0.3; opacity: 0.3; } .notTransparent{ filter:alpha(opacity=100); -moz-opacity: 1; opacity: 1; } </style> </head> <body bgcolor="#FFFFFF" text="#000000"> <div style="width: 500px; height: 500px; background-color: red;" class="transparent"> <div class="notTransparent"> A <span class="notTransparent">transparent</span> div. <img id="tuxie" src="next.gif" width=254 height=46 style="-moz-opacity:30%;filter:alpha(opacity=30)"> </div> </div> </body> </html> Problem :-- In my case every thing in container div becomes transparent. How can I make sure that image and text does not becomes transparent however container div whose background color is red becomes transparent. Thanks http://junksen.tumblr.com/ Hi! i just wanted to know if i can make the right bar, the post area, and the left bar transparent so i can see the background through them if anyone can help me out, please let me know y0! Hi, I used the following code below to straighten out a problem with transparent png files in IE5.5/6. The title png file that floats with the text over the background image is fixed but the google banner at the base of the page is still filling in the transparent area with white. Code fix: http://homepage.ntlworld.com/bobosola/index.htm My page: http://www.muskmagazine.com/wintertrends.html Any suggestions would be much appreciated. Thanks Justin I have a website which consists of a flash movie, which is transparent, placed on top of an image. Currently the only way I can do this is with: Code: <div style="position: absolute; top: 0; left: 0; width: 800px; height: 604px; z-index: 3"> Which doesn't allow me to scale the elements, as they are positioned absolutely. What I want to be able to do is position the elements one on top of each other, but have their height set to 100% rather than a fixed amount, and for them to be centered. Any ideas? Thanks Fred I have this code in my website: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>PinkuHaruKoneko</title> </head> <body text="#ffffff"> <font face="arial"> <style> <!-- A{height:1px;behavior:url(linkhilight.htc);filter:progid:dximagetransform.microsoft.gradientwipe duration=1)} A:link { text-decoration: none; color:#ffffff;} A:visited { text-decoration: none; color:#ffffff; } A:hover { text-decoration:line-through; cursor: crosshair; color:#ffffff;} body { scrollbar-arrow-color: #CEE0F6; scrollbar-darkshadow-color: #090E3C; scrollbar-track-color:#090E3C; scrollbar-face-color: #275674; scrollbar-shadow-color:#CEE0F6; scrollbar-highlight-color:#CEE0F6; scrollbar-3dlight-color: #090E3C; text-align:justify} h1 { border: 1px solid #000000; background-color:#0000ff; font-size:14px; text-align:center; } --> </style> With that code, text align justify -elements doesn't work and h1 doesn't work at IE. If I take away that thing before <html>, it works but in IE bg isn't transparent anymore. Is there anything what I can replace that doctype-thing and get that code work in Mozilla and IE? Hi Friends, I have problem in IE6 using transparent png image. I have already include the IE6 png fix javascript file. If suppose using img tag, its no problem, but I set the png image within my td background its not display properly. here my code : <td align="center" valign="middle" style="background-image:url(images/footer_bg.png); background-repeat:no-repeat;"> also i attached the sample image. this is my problem. so anybody knows or face the same problem give me the solutions. Yours, vjn_23 (vijayan M) Does anyone know how to make the radio button transparent? I need to put a radio button on a textured background but I don't want the rectangle and actual button to show up on top of the background. I wanna the image working as a radio button. Thanks in advance! Please help, I am uploading my site back to my server after some updates. The main page is blurring all the pages linked via iframe. If you visit the main page all my text is blurry: http://www.sillywabbitproductions.com/ But if you visit the actual pages the text is just fine: http://www.sillywabbitproductions.com/main.html I've already diabled ClearType in case that had anything top do with it. Any idea what's causing this? Thanks in advance. i am trying to call a transparent png as an image background for a table and i have the code to get it to work for IE 6 and IE 7 but when i add in a doctype "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">" it doesnt work. Here is a section of my code: <style type="text/css"> .stock { background-image: url("BG.png"); background-repeat: repeat; background-position: top; behavior: url('pngbehavior.htc'); padding: 11px; } </style> and then call the table like this: <table width=800 class=Stock> the pngbehavior.htc is the same transparent png attachment that is floating around the net. What i am trying to know is does anybody have a way of calling it so that it works in IE 5, 6, 7 and firefox with the doctype command? it works fine before i put the doctype command in it but i am using some other code that needs it. Thanks guys I have created a website www.aplexia-villas.co.uk. The problem is with two of the images. They have a gray background in IE, but on firefox they are fine. Does anyone know how i can make the transparency work? I have tried different formats: .png .jpeg .gif Thanks for you help. For some reason the text and links on the following page are not working... as in you can't click on them. At first they wouldn't show over the background, and now they do but they don't function. Why? How do I fix that? Also, how do I get the iframe background to be transparent against that image so it all flows together and do I need to do anything to ensure that the iframe comes up? Why doesn't it show? HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Fresh Sessions</title> <link rel="stylesheet" type="text/css" href="style.css" /> <style type="text/css"> html, body { height: 100%; margin: 0; padding: 0; } #bg img{ position:fixed; top:0; left:0; width:100%; height:100%; } } #content { position:relative; z-index:1; } </style> <!--[if IE 6]> <style type="text/css"> html { overflow-y: hidden; } body { overflow-y: auto; } #bg { position:absolute; z-index:-1; } #content { position:static; } </style> <![endif]--> </head> <body style="overflow: hidden"> <div id="bg"><img src="skates/shred.jpg" width="100%" height="100%" style="opacity:0.4;filter:alpha(opacity=40)"></div> <div id="content"> <center><h1>FRESH SESSIONS</h1> <br><a href="about.html" target="steezbox">About</a> <a href="" target="steezbox">Max & Mike</a> <a href="" target="steezbox">Pricing</a> <a href="" target="steezbox">Safety</a> <a href="" target="steezbox">Links</a> </center> </div> <iframe src="about.html" name="steezbox" align="middle" width="400" height="100%" scrolling=no frameborder=0> <p>Your browser does not support iframes.</p> </iframe> </body> </html> Is there a way to change the way IE handles transparent portions of an element - like a 200x200 pixel div with borders but no background? Firefox will consider "onmouseover" for the entire div, but IE seems only to react to the thin border. So, I can make a simple drag-and-drop div in Firefox, but in IE you have to pick the 1 pixel border to drag it around :-( Putting a transparent image in the div does not help, since this will make the browser itself grab that image, ignoring my script. How can you make the div become selectable in IE too? All the best Robert |