Why are there link borders around images?

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
zeroality
Registered User
Posts: 16
Joined: Thu Mar 02, 2006 5:21 am

Why are there link borders around images?

Post by zeroality »

Or is it just me?
zeroality
Registered User
Posts: 16
Joined: Thu Mar 02, 2006 5:21 am

Re: Why are there link borders around images?

Post by zeroality »

bump
Yoda_IRC
Registered User
Posts: 158
Joined: Tue Mar 01, 2005 10:19 pm

Re: Why are there link borders around images?

Post by Yoda_IRC »

Which images?
Do you mean images in posts, or do you mean button images?

When do these borders appear, when you hover your mouse over an image, or always there?

What Browser and version are you using. Does it support XHTML 1.0, CSS1 and CSS2?

I don't see any problem myself.

Are you using any blocking software that prevents loading of linked items (imags, Javascript, stylesheets)?

How can anyone help you if you don't provide any information?
asmith3006
Registered User
Posts: 136
Joined: Mon Feb 07, 2005 5:09 pm

Re: Why are there link borders around images?

Post by asmith3006 »

Give us a screenshot of what you mean
zeroality
Registered User
Posts: 16
Joined: Thu Mar 02, 2006 5:21 am

Re: Why are there link borders around images?

Post by zeroality »

I'm using Firefox 1.5.0.4 and I don't have any of what you listed disabled.

http://www.pokerealm.net/zero/images.jpg" target="_blank

All other sites appear normal to me, except for this one. I guess since "it's just me", that this must be a bug or something. I just looked at the phpBB3 beta1 boards that I set up on my site and didn't modify - no borders there.

So it's something that's unique on this site that's causing it.

Edit: OK, I clicked 'refresh' and it went away. Must've visited the site right as they changed something and still had a cached version of it.

Edit2: Yoda, chill the *beep* out. I'm not an idiot so don't talk down to me. Thanks.
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: Why are there link borders around images?

Post by Stallyon »

GIF images with links will always display a blue 2px border by default. Just set border=0 in the <img> tag. Fixed.
zeroality
Registered User
Posts: 16
Joined: Thu Mar 02, 2006 5:21 am

Re: Why are there link borders around images?

Post by zeroality »

Thanks for contributing absolutely nothing to the topic - and I'm pretty sure it doesn't matter what the image extension is. Unless you specify otherwise in your CSS or HTML, linked images will have a border around them.
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: Why are there link borders around images?

Post by Stallyon »

JPG and PNG images don't to it by default like GIFs, you smartass. Next time don't ask for help if you are going to be inconsiderate to people who answer you.

EDIT: Aren't you meant to be buying vB in 8 weeks anyhow?
Yoda_IRC
Registered User
Posts: 158
Joined: Tue Mar 01, 2005 10:19 pm

Re: Why are there link borders around images?

Post by Yoda_IRC »

zeroality wrote: Edit2: Yoda, chill the *beep* out. I'm not an idiot so don't talk down to me. Thanks.

I thought I was reasonably chilled. Mind you its hard to convey meanings over the internet.
How was I supposed to know if you where an idiot or not? You posted 13 words (one of which was dump), I just assume lowest level of intellect and if you are lucky enough to be higher than that (which in hindsight you appear to be) then ingore the uneeded bits.

Could have been the CSS style sheet was being cached and it was using an old version.

I do have to agree with you, I wouldn't have thought whether it was a PNG JPEG or GIF should make any differance what-so-ever. Is it in the XHTML 1.0 or HTML 4.01 spec that browser should behave differantly for differant image types? (I haven't read the entire spec btw).
I don't often make GIFs PNG is a nicer format and it doesn't have patent issues.
code reader
Registered User
Posts: 653
Joined: Wed Sep 21, 2005 3:01 pm

Re: Why are there link borders around images?

Post by code reader »

Stallyon wrote: JPG and PNG images don't to it by default like GIFs, you smartass. Next time don't ask for help if you are going to be inconsiderate to people who answer you.
i would love to see a reference to this amazing claim.
Post Reply