|
| |
|
|
paddster7
Posts: 1 Joined: 12/5/2007 Status: offline
|
Internet Explorer link colors - 12/5/2007 20:17:22
At the following site (http://www.tropical-yacht-repair.com/), which was made by Dreamweaver CS3, is a single "Under Construction" image. If you look at the source code for this very simple web page, you will see that specific colors have been designated for link, visited, hover & active link colors. When previewing this web page with Firefox, Safari, Navigator, Opera, Camino & SeaMonkey, the correct link colors are being displayed. However, when using Internet Explorer, version 7.0.6000.16546, the default IE link colors are being displayed. (Blue - link; Purple - visited) Can you give me any ideas how to get IE to display the designated colors for links, without causing the link colors in the other browsers to break. Thanks.
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Internet Explorer link colors - 12/6/2007 2:29:30
Ok here you go, this should get around IE's stupidity: <style type="text/css">
<!--
img {border:none;}
.imagelink img{border: 1px solid pink;}
.imagelink:visited {border: 1px solid orange;}
.imagelink:focus img, .imagelink:hover img, .imagelink:active img{border: 1px solid green;}
.imagelink:hover {color: red; /* irrelevant definition to overcome IE bug */}
-->
</style>
</head>
<body>
<a href="#" class="imagelink"><img src="http://www.tropical-yacht-repair.com/images/under-construction.jpg" width="680" height="492" alt="Under Construction" /></a>
</body>
</html>
< Message edited by Tailslide -- 12/6/2007 4:32:13 >
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|