HTML - Photo Semi-transparency
I've used a code for a layout on my blog at blogger.com, and I've tweaked it to my likeness except for the fact that the photos on my blog all are semi transparent. Does anyone know what I should look for to change so the photos appear as solid? Thanks for any help. If anyone wants to see the code in it's entirety I can post it.
Similar Tutorialsi 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 Hello. I've searched numerous times on Google for answers to this problem I'm having and I'm getting no help. I've posted here before with the same website but I have a different layout (or I'm making one) so I have a different problem. To view the website click here, although I don't have the new layout up on the web yet. I have a picture as the background and I have the semi-transparent tables, but the text is semi-transparent as well and I really don't like that. The code I have for the semi-transparent tables is: Code: table, tr, td { filter: alpha(opacity=75);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75); -moz-opacity:0.75; } So that's all fine and good, but I can't get the text to show up solid. Is there a way that I can have the semi-transparent tables and full opacity text? I'm extremely bad with CSS, so I don't know much what I'm doing here. The homepage of my website has a PNG image with transparency. The reason that I'm using PNG is that I was having trouble matching the image background color to the page background color. On some browsers like Safari it matched perfectly but on IE it did not (not sure why). The PNG image is displaying fine with transparency on both Safari and Google Chrome in my OS X machine but when I test it on a Windows machine under IE the transparency does not work and I see a white box around the image area. I'm really new to all this and would really appreciate any help. This is my website homepage with the problem image: www.buccianti.net Thanks so much! Hi All, I'm trying to figure out the best way to achieve <div> transparency. Right now I've got the following working: CSS: Code: #content {filter: alpha(opacity=85); opacity:0.85;} But that is causing the entire <div> to fade - I'd only like the BACKGROUND to do so, and not the CONTENT on top. I'm considering just using another <div> as the background, and then a content <div> on top of that with a 'none' background - but does anyone know if there is a better option for this? Cant figure out how to do this effect, the image is the layout in photoshop, what im trying to do is, I have a Background image, with wood texture and I have a div over it where content goes. In photoshop i cut the bg, set it as my bg with html, and now im trying to over lay the content area that in photoshop is Black with about 60% transparency so you can still see the wood grain but also still have the edges to mimmick the content header so i cant just use a 50% square transparency any ideas will greatly be appreciated. So I sliced a template that I made in photoshop and where my content box is I have an image in the template. I want to have a content box overtop of this image using iframes, but whenever I do that my image dissappears. Is it possible to set the background of an iframe to be an image, or to make it transparent and have an image beneath it? I am not much of a web developer, so I am using Go Daddy Website Tonight tool to create a quick page. I have a PNG with a transparent background on my website, and it works fine except for users with IE6 or below (IE6 and below don't support transparency on PNG). I tried doing a GIF, but it looked crappy. So, I have researched and found out that you can use the AlphaImageLoader filter in your code to make PNG work for IE6. With the Website Tonight tool, you can only edit HTML for certain sections (blocks) of the site. So, for the section (block) that has the PNG, the following HTML is available to edit: HTML Code: <img alt="" wstxclass="Image" src="http://app4.websitetonight.com/projects/1/2/3/8/1238972/image/title1_4hon.png" mainsrc="http://app4.websitetonight.com/projects/1/2/3/8/1238972/images/title1_4hon.png" uid="419bfda3-0aa3-46c4-84be-7b459f64c09d" /> <br /> So, what I need help with is if I can put the AlphaImageLoader filter on this code and hopefully have it work. The MS Knowledge Base provides the following code example for the AlphaImageLoader, but I can't quite figure out the syntax with the HTML code above. http://support.microsoft.com/kb/294714 HTML Code: <html> <head></head> <body bgColor="blue"> <!-- This DIV is the target container for the image. --> <DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='image.png', sizingMethod='scale');" > </DIV> </body> </html> okay, im kinda new to the forum and in a way kinda new to html because i haven't written in weeks. anyway, i know the code
HTML Code: <img src="./file.GIF"></img> , but how do i make the image by the bottom-left pixel transparent please help. ty I have been trying to research hacks to for internet explorer 5.5 and 6 to allow .png images to show transparent backgrounds (rather than showing with a blue/gray background color behind them.) As I understand it internet explorer allows for binary transparency (which is default in .gif files) but you have to do a work around in order to display alpha transparency. I am using a 24bit png file with a transparent background and it displays properly in firefox. I cannot use a .gif or 8bit png because the image has too much detail loss if I do so. For what I am trying to do I really only need binary transparency because I want the background to be completely transparent. So my question is whether there is a way to use a 24bit .png file in binary transparency and just disable the alpha transparency channels? Is there a way to save the .png with only binary transparency to begin with for that matter? I created the file using photoshop. Hi, I am working on a wordpress theme and I have made a horizontal drop down menu. For some reason the drop down part has transparency and the text is almost unreadable as it mixes with the text in the main container. Each of the submenus is a list nested in the list item above. Here is the full code for the menu: HTML Code: <ul class="menu"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?> <ul id="nav" class="menu"> <li><a href="<?php bloginfo('url'); ?>">Home<img src="<?php bloginfo('template_url'); ?>/images/icons/home.png" class="menu_icon" alt="Home" border="0" /></a> </li> <li><a href="#">Facilitators<img src="<?php bloginfo('template_url'); ?>/images/icons/people.png" class="menu_icon" alt="Facilitators" border="0" /><img src="<?php bloginfo('template_url'); ?>/images/icons/arrow.png" class="arrow" alt="Contact Us" border="0" /></a> <ul> <li><a href="<?php bloginfo('url'); ?>/narelle-nelles">Narelle Nelles</a></li> <li><a href="<?php bloginfo('url'); ?>/susan-gregory">Susan Gregory</a></li> </ul> </li> <li><a href="#">Courses<img src="<?php bloginfo('template_url'); ?>/images/icons/courses.png" class="menu_icon" alt="Courses" border="0" /><img src="<?php bloginfo('template_url'); ?>/images/icons/arrow.png" class="arrow" alt="Contact Us" border="0" /></a> <ul> <li><a href="<?php bloginfo('url'); ?>/parenting-course">Parenting Course</a></li> <li><a href="<?php bloginfo('url'); ?>/beyond-behaviour">Beyond Behaviour</a></li> <li><a href="<?php bloginfo('url'); ?>/staff-training">Staff Training</a></li> <li><a href="<?php bloginfo('url'); ?>/upcoming-courses">Upcoming Courses</a></li> </ul> </li> <li><a href="#">Register<img src="<?php bloginfo('template_url'); ?>/images/icons/register.png" class="menu_icon" alt="Register" border="0" /><img src="<?php bloginfo('template_url'); ?>/images/icons/arrow.png" class="arrow" border="0" /></a> <ul> <li><a href="<?php bloginfo('template_url'); ?>/registration.html" title="Register Online" rel="gb_page_center[390, 490]">Register Online</a></li> <li><a href="<?php bloginfo('template_url'); ?>/AARCRegistrationForm.doc">Register By Post</a></li> <li><a href="<?php bloginfo('url'); ?>/registration-terms">Registration Terms</a></li> </ul> </li> <li><a href="<?php bloginfo('template_url'); ?>/photo_gallery.php" rel="gb_page_fs[500, 500]">Photo Gallery<img src="<?php bloginfo('template_url'); ?>/images/icons/photo.png" class="menu_icon" alt="Photo Gallery" border="0" /></a></li> <li><a href="<?php bloginfo('template_url'); ?>/contact.html" rel="gb_page[280, 380]">Contact Us<img src="<?php bloginfo('template_url'); ?>/images/icons/email.png" class="menu_icon" alt="Contact Us" border="0" /></a></li> </ul> CSS Code: ul { margin-right: 10px; padding: 0; list-style: none; font-size: 12px; width: 160px; border-bottom: 1px solid #ccc; } ul li { position: relative; } li ul { position: absolute; left: 159px; top: 0; display: none; } .sidebar a{ color: #8b645a;} ul li a { display: block; text-decoration: none; background: #f1f9e6; padding: 5px; border: 1px solid #ccc; border-bottom: 0; } ul li a:hover{ background: url(images/menu_bg.png) bottom repeat-x; color: #43951e;} ul li li a:hover{ background: url(images/menu_bg.png) bottom repeat-x; color: #43951e;} /* Fix IE. Hide from IE Mac \*/ * html ul li { float: left; height: 1%; } * html ul li a { height: 1%; } /* End */ li:hover ul, li.over ul { display: block; } I tried defining opacity to full but that does nothing. The problem happens in firefox, ie7, opera, and safari beta 3 for windows. If you could help it would be great!, Ricky Here is the problem Ordus Inferi Guild Forums top left banner, there is a no image display on top of my transparency. Here is the code, I know it has to be wrong...so what do I change: <a href="index.php"> <img <DIV ID="oDiv" STYLE="position:absolute; left:; height:180; width:526; filter:progid:(nospace here, but it made happy face)DXImageTransform.Microsoft.AlphaImageLoader( src='/forums/styles/StarCraft/theme/images/id_logo.png")</div></img></a> Thank you much. On firefox, the banner is not viewable at all, while on IE it is viewable...BUT it has a no image [x] layered ontop of the image. Okay, I have table backgrounds. I want to use a transparency effect on them. However, if I use .gif, it only works in IE, and if I use a .png, it only works in FF. How can I make it so that it will display my .gif file for IE viewers, and my .png file for FF viewers? Greetings to you all, Today's question I have is this: Does anyone know how to achieve transparency with svg files in Safari? I have an orange colored circle graphic in svg format. I want to display it on a colored background, maybe even an image background but in Safari it shows a white square around the circle. I have tried using the embed tag and the object tag and both show the white square. Both embed and object seem to be fine for Firefox and Opera. I have used img src and this displays the graphic as it should be in Safari but doesn't show at all in Firefox. I have spent the last three hours searching the net for an answer but there doesn't seem to be a solution out there. I would really appreciate some help. I'm sure there must be other people with the same problem. Thanks very much. http://www.mohler.cz/radim/segeta/al...lkodlaci6.html Hi all I have encountred problem while using transparent swf on site I am developing.. The problem is only with firefox...when I try to click the link it starts to blink and is unclicable...well I figured out that when I place a small picture just below that div containing my swf it works correct.... well, well, but the other problem emerges when I would like to use second swf with transparency at the bottom .....well I would like to scroll the content like the entire page not an iframe or whatever , but I cant place there this workaround because it 1, doesnt work when its in a div 2, without div it is just an element and the iframe where I load my content aligns beneath it so it is off the screen.... Is there a problem using the background the way I do ?? Does also anyone know how to get rid of that flickering in firefox when I scroll content with images for example in "fotogalerie " ???? trying to figure out the easiest way to work through a gallery of my photos. i want it to be very similar in the way that you click next/previous on this site: http://www.megwachterphoto.com/portraits/index.html and how the next image comes in. looking at the source code, it's pretty frightening for me as a beginner. any tips of how this is done? mine's going to be similar but probably with an .gif of a negative with arrows in it. each arrow will be sliced and assigned the next/previous thing. any ideas?? http://brandonmckenney.com/environment.htm that's my site, so the arrow/negative gif will be below the images that appear. I want to make a gallery. What is the best way to do this? I've heard of something called coppermine, but I don't quite understand it.. Is there someone willing to help me, and to explain properly step by step how to make a photo gallery the best way? Ok, here is the delema. I have just finished the layout of my football team's website, and now I have ran into a problem. Just as I was about to post some pictures, I realised that a page with a bunch op pictures on it doesnt look very nice. So I set out to find some sort of photo album tool that i could use to put into my code. Unfortunatly, all i could find was a program called jalbum. It seemed perfect except for one problem, it creates it's own entire webpage -.- I dont care how it works, it just needs to be flexible, becasue I have to be able to upload new pictures daily, otherwise I would have just made one in flash. Oh yea, here is a link to the temporary webpage that it is hosted at http://www.sitebywhite.com/cougars by the way, I need this BEFORE friday, as that is when we leave for our trip, so i need to be able to upload by then. So on my blog, which is on wordpress.com. I like the theme and most of it I think worked out decently, but I ran into a problem. So I have a page where it's a collage of portraits of people and I simply code it with a <a ref= ...> and I align it left and I just repeat that so each photo gets put right where the last one left off. The problem with it is now that I have over 200 photos on it, it loads REALLY slow. I was wondering if there was a way to code it so the resolution on each picture doesn't reload everytime you zoom in and out on your browser. I do want to keep it so that if you click on a photo, it goes to the individual picture (which is hosted on photobucket). Is there a way to do this? Because the scrolling up and down has become really slow and choppy on this page. Thanks a lot. P.s. if you wan't to see what I'm talking, the page is http://wtffund.wordpress.com/faces-of/ Hi Can anyone point me in the direction of some decent HTML code for a photo gallery, Im getting fed up with people not being able to open my falsh ones so im going back to basics. I want something that wont need loads of changes each month, something that will require little set up, Iv about 30 photos each weeke i need to put up online... any ideas? Hi! I'm very new to HTML / CSS, (like, a total of 16 hours experience), and I am trying to make a website. I was wondering how to create a low maintenance Photo Gallery section. I need something that will have multiple galleries to choose from, and when chosen, the user can flip / scroll through the images. The reason I say 'low maintenance' is because when updating these galleries, each new photo set could be upwards of 50-100 photo's, and coding those in individually would get rather annoying. Is there a better way? My website code is available upon request if needed Thanks! |