View Full Version : Problem with CSS navigation in IE (Border Image Related)
*Scarface*
07-20-2008, 07:44 PM
Hey guys...so...Here is the thing. I'm working on a new website but I got this error.
http://www.britneyshameless.com/ As u can see from Last Pix I'm using cpmfetch but I'm using a css to make that kind of double border on the image for the Last Pix. These borders appears on Firefox but they doesn't on Explorer..
What can I do for it? How can I fix this thing? I don't know how to face this thing anymore since the CSS work for the gallery (since I'm using the css of another gallery that I made) in both browser but it doesn't if u use them to that thing.
I don't know if I've been clear but anyway I hope to receive help!
C ya!
TheJoshMan
07-20-2008, 08:23 PM
I see the borders you're talking about when I view it in FF, however in IE they don't show up. I checked your source code for the "latestpix.php" page, and found the stylesheet you're using. It looks as though FireFox is picking up on the 5px padding and the "#FFFFFF" background color specified for the images but IE is not. I'll post up my solution if I come up with one.
*Scarface*
07-20-2008, 09:34 PM
Actually I've found out that if I want those border to be shown in IE like on MF it should be something like this:
<img src="http://www.abus.terzzi.com/ImageBorderfromCSS/hdr-44.jpg" alt="The Solitude of the Fisherman - Click for information about the image" width="450" height="285" style="background-color:#ff0;border:1px solid #021a40;padding:1px" />
But I don't know how to make a kind of call so that every image shown on that iframe have that "style" thing inside IMG code!
Thank u so much for trying to helping me anyway ;)
TheJoshMan
07-20-2008, 10:06 PM
Place this in the <head> of your page containing the images:
<style type="text/css">
.borderfix{
padding:3px;
background-color:#ffffff;
border:1px;
border-style:solid;
border-color:#dadada;
}
</style>
Then display the images like this:
<img src="yourserver.com/image.jpg" alt="This is alt text" width="450" height="285" class="borderfix" />
*Scarface*
07-20-2008, 10:13 PM
Thanks but it keeps not coming out on IE.
The thing is that I use cpmfetch to show that images there...It is a kind of mini application that makes me appear latest images uploaded on coppermine photogallery. So those pics are are showed automatically...
On cpmfect there's an option to put class="" inside the img tag but it doesn't give me the option on IE even if on the HTML code it get showed.
TheJoshMan
07-20-2008, 10:23 PM
hmmm... I guess I'm completely clueless then. I've never used that app before. Sorry I couldn't be of more help.
*Scarface*
07-20-2008, 10:24 PM
but it is ok why it doesn't have to work??!?! I'm going crazy for this!!
TheJoshMan
07-20-2008, 10:42 PM
but it is ok why it doesn't have to work??!?! I'm going crazy for this!!
You know if all else fails you could open the thumbnails up in photoshop and add about a 3 or 4px border to them and resave. Then adding your 1px border in css and you'd get the same result. rather than trying to mess around with creating it purely through css...
*Scarface*
07-20-2008, 10:47 PM
Yeah lol I know but I'll try to ask to the the creator of cpmfetch!
U know what? It's stupid install and put stuff like that on the server than then doesn't work and it's all unuseless since u have to do always on ur own. Even if u got a good little program!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.