Hello!
I'm doing a design and I need transparent PNG images to create a border. It works in firefox and opera but IE is causing major problems as always![]()
You can find my design here. If anyone knows a solution to this problem please let me know.
Hello!
I'm doing a design and I need transparent PNG images to create a border. It works in firefox and opera but IE is causing major problems as always![]()
You can find my design here. If anyone knows a solution to this problem please let me know.
IE6? IE7 has added PNG transparency support, but IE6 does not. This has been discussed before, and I believe there is an IE-only filter available to fake the same thing, so that should work for you. (IE-only is fine, since it only needs to fix IE6).
If not, you could always use GIF instead.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Unfortunately GIF is not an option.
I found this but I can't get it to work for me![]()
I know there is a filter-based solution, but I haven't used it myself, so I'm not sure. That looks like a good page to try, though. Good luck. Maybe someone else will have more info. Also, if you could paste a link to your page, perhaps someone could take a look and see what is wrong.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Try this:
Remember to add this AFTER your CSS Stylesheet.HTML Code:<!--[if IE]> <style> #container { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/YourImage.png, sizingMethod='scale'); } </style> <![endif]-->
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
I resolved most of the problems. I have one left.
In IE background is only visible if height is specified. I would like to have min-height:400px; and then if more text is added I want to be fluid.
Someone knows how to deal with this bug ?
I believe there are other ways to display the background, like:
position:relative;
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
I'm not sure I know what you mean.
In place of specifying a style width, specifying a style position (of absolute). The relative value is usually easier to work with in an established page, but I was mistaken, it says below that it needs to be absolute (relative might work). There are other options:
- from:The object that the filter is applied to must have layout before the filter effect will display. You can give the object layout by setting the height or width property, setting the position property to absolute, setting the writingMode property to tb-rl, or setting the contentEditable property to true.
http://msdn2.microsoft.com/en-us/library/ms532969.aspx
Of interest in the above is the fact that you may set the height or the width. Setting just the width might work out.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Setting width worked. Thank you!
Bookmarks