PDA

View Full Version : Something is causing a change between browsers and pages, not sure what.


Tatious
12-04-2010, 10:28 PM
Hi,

I made a site using div tags, for some reason something is causing some of items to have a blue border when viewed on firefox, but on Safari it is fine, and on firefox it is not every page that it is affecting. can anyone tell me why this might be happening?

http://sws.canterbury.ac.uk/gp61

DWcourse
12-05-2010, 12:54 AM
try adding this rule to your style sheet:

img {
border: medium none;
}

Firefox seems to be adding the border since the image is used it for links.

Tatious
12-05-2010, 10:28 PM
thank you very much for your help, it sorted the problem :)

domedia
12-08-2010, 02:53 PM
Dwcourse, what is the 'medium' declaration for when 'none' removes the border?

DWcourse
12-08-2010, 03:28 PM
Dwcourse, what is the 'medium' declaration for when 'none' removes the border?

You've got me! Sorry, I picked that up without paying attention.

img {
border: none;
}

Would do it.

domedia
12-09-2010, 01:46 PM
I thought maybe there was some browser quirk I didn't know about :-D