Page 1 of 1

[SOLVED] img border color browser compatibility problem

Posted: Mon Mar 29, 2010 6:22 pm
by r00ki3
Hey all,

I've been messing around for a while to finaly fix the border color of thumbnails in the album module.
In FF and IE 8.0 no problems...but in IE 6 and 7 it's still showing this ugly blue border...

I defined every single border and the color.
My CSS looks like this:

Code: Select all

.thumb
{
	padding:0;
	margin:0 0.5em 0.5em 0;
    
/* Thumbnail spacing */
	text-decoration:none;
	line-height:normal;
	list-style-type:none;
	text-align:center;
	float:left;
        border-top:0px solid #47362e;
/* Borders of thumb frame */
	border-right:0px solid #47362e;
	border-bottom:0px solid #47362e;
	border-left:0px solid #47362e;
To have a look @ the website: http://www.dressuurstal-nijpjes.nl/index.php?mact=Album,m01e11,default,1&m01e11albumid=8&m01e11returnid=60&page=60

After some googling I gave up...and posted my question here...hoping that there are some pro's around to help me out with this probably easy issue.

Thnx in advance!

Re: img border color browser compatibility problem

Posted: Mon Mar 29, 2010 6:39 pm
by Nullig
Add:

img {
border-style: none;
}

at the end of the stylesheet.

Nullig

Re: img border color browser compatibility problem

Posted: Mon Mar 29, 2010 7:04 pm
by r00ki3
Nullig wrote: Add:

img {
border-style: none;
}

at the end of the stylesheet.

Nullig
That removes the border...I tried to add

img {
border:0px solid #47362e;
}

But that doesn't work either.
The goal is to have the #47362e color in all browsers...
Thnx for your help so far.

Re: img border color browser compatibility problem

Posted: Mon Mar 29, 2010 7:29 pm
by Nullig
What about:

img {
border: 1px solid #47362e;
}

Nullig

Re: img border color browser compatibility problem

Posted: Mon Mar 29, 2010 7:33 pm
by Nullig
Or:

* html :link img {
 border: 1px solid #47362e;
}

Nullig

Re: img border color browser compatibility problem

Posted: Mon Mar 29, 2010 8:12 pm
by r00ki3
Haha...unbelievable...I feel so stupid...
But at least it solved the problem ;)

Now I can see the difference between 0px and 1px  ;D