Afficher un message
Vieux 01/07/2008, 00h51   #2
Nancy O
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: borders of image links wrong colors in IE

Use CSS (inline example). Place this between <head> and </head> tags in code
view.

<style type="text/css>
/* Image links */
a img {border: 2px solid #FFFFFF} /* This is image border; set to page
background color; white */
a:hover img {border: 2px solid #EFAB08} /*this is the highlight color;
gold*/
a:active img, a:focus img {border: 2px solid #EFAB08}

/* Text links */
a:link {color: #FF0000} /* unvisited link */
a:visited {color: #00FF00} /* visited link */
a:hover {color: #EFAB08} /* mouse over link */
a:active, a:focus {color: #EFAB08} /* selected link */
</style


To with color choices, here's a color chart:
www.//alt-web.com/HexColorChart.shtml


--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com


"grape jan" <webforumsuser@macromedia.com> wrote in message
news:g4bm14$ldm$1@forums.macromedia.com...
> I have set the various colors for links in Page Properties (this affects

any
> linked text and the borders of any images that link). There are various

shades
> of gold and grey applied for Link Color, Visited Links, Active Links, etc.
>
> These colors display correctly for any linked text in all browsers and
> platforms (IE, Firefox and Safari on Mac and Windows). The border colors

on
> any Linked images work as well, in all browsers EXCEPT Internet Explorer

for
> Windows, where the Active and Visited link borders change to cyan and

magenta.
>
> How to I get IE to recognize my preferred link colors on borders? I know

it
> can be done. I've seen it elsewhere.
>
> Here is a link to the page I'm working on:
>
> http://www.grandviewart.com/PhyllisK.../DrewTest.html
>
> Thanks!
>
>



  Réponse avec citation
 
Page generated in 0,05876 seconds with 9 queries