[SOLVED] img border color browser compatibility problem

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

[SOLVED] img border color browser compatibility problem

Post 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!
Last edited by r00ki3 on Mon Mar 29, 2010 8:12 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: img border color browser compatibility problem

Post by Nullig »

Add:

img {
border-style: none;
}

at the end of the stylesheet.

Nullig
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Re: img border color browser compatibility problem

Post 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.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: img border color browser compatibility problem

Post by Nullig »

What about:

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

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: img border color browser compatibility problem

Post by Nullig »

Or:

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

Nullig
Last edited by Nullig on Mon Mar 29, 2010 7:36 pm, edited 1 time in total.
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Re: img border color browser compatibility problem

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”