![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My stylesheet contains the usual a:link {color: white} a:visited {color: #800080} a:hover {color: red} a:active {color: teal} |
|
However IE7 gives me an unchangable blue border. |
|
What I really want is a white frame with a red hover, the rest is a bonus. |
#3
| |||
| |||
|
|
Scripsit Jim S: My stylesheet contains the usual a:link {color: white} a:visited {color: #800080} a:hover {color: red} a:active {color: teal} That's not usual at all, but it is usual to make the elementary mistake of not setting background when setting color. What happens on a browser with a user style sheet * { color: black; background: white; } ? My backgrounds are all defined. |
|
However IE7 gives me an unchangable blue border. That's because the border color is a property (the border-color property) of the img element. IE has, conceptually, a browser style sheet that sets specific border colors for images that are links. You need to override that, e.g. a:link img { border-color: white; } |
|
What I really want is a white frame with a red hover, the rest is a bonus. Is the user supposed to guess that in _this_ particular site, white border means a link? |
![]() |
| Thread Tools | |
| Display Modes | |
| |