Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer backup black screen blue screen boot bsod computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Problem with CSS opacity image link


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
ncfan51's Avatar
Junior Member with 1 posts.
 
Join Date: Mar 2008
24-Mar-2008, 08:37 PM #1
Problem with CSS opacity image link
I searched to see if this has been asked before, and I couldn't find one. Anyways:
Here is a site I have been working on:
http://kontragraphic.110mb.com/

Notice how that the image on the right works, but the image on the left somehow doesn't. I can't figure out why.
If it helps, here is the HTML:
HTML Code:
<html> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8' /> <title>~Kontragraphic Portal~</title> <meta name="description" content="Tutorials, insight and randomness at the tips of your fingers" /> <meta name="keywords" content="random, various, stupid, fun, photo, graphics" /> <meta name="author" content="Incognito" /> <link rel="stylesheet" type="text/css" href="portalstyle.css" /> </head> <body> <div id="portalimages"> <a href="http://kontragraphic.110mb.com/blog/"><img 

src=(http://kontragraphic.110mb.com/portalimg1.png)style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" alt="Kontragraphic" /></a> <a href="http://kontragraphic.110mb.com/beta/"><img src="portalimg2.png" 

style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" alt="Kontragraphic Beta" /></a> </div> <p>Welcome to Kontragraphic. Please click on the following links. This website is best viewed with Mozilla Firefox 

1.5+, Opera 6+, or Safari. If you do not use the listed browsers, it is strongly urged you do so immediately.</p> <br /> <br /> <p style="text-align: center;"><a href="http://kontragraphic.110mb.com/blog/" class="nav">Kontragraphic</a> | <a 

href="http://kontragraphic.110mb.com/beta/" class="nav">Kontragraphic Beta</a> (WIP)</p> <div id="footer">
Copyright &copy; 2008 Kontragraphic. All rights reserved.
</div> </body> </html>
and here is the CSS

HTML Code:
#footer
{
clear: both;
position: relative;
top: 20px;
font-style: italic;
font-family: Verdana;
font-size: 11px;
}

p
{
font-family: Verdana;
font-size: 0.7em;
text-indent: 0.25cm;
}

a.nav:link 
{
color: orange; 
text-decoration: underline;
 }

a.nav:visited
{
color: white;
}

a.nav:hover
{
font-style: italic;
}

a.nav:active 
{
color: blue;
 }
Thanks for the help.
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,705 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
24-Mar-2008, 09:05 PM #2
Quote:
Originally Posted by ncfan51 View Post
Notice how that the image on the right works, but the image on the left somehow doesn't. I can't figure out why.
What do you mean by "works"? When I hover over both images, they appear in full color and when I click each link, I'm taken to a different page.

What is the problem?

Peace...
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:44 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.