This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > Can't edit border color of an image link





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can't edit border color of an image link
kzrx

2004-03-21, 9:28 pm

I need help editing the border color of an image with onClick >> new window
behavior attached to it. I have a thumbnail with a 1px border which opens up a
pop-window when clicked, and I've set all the link colors to black (#000000)
using page properties.

The problem occures when I apply a null link "#00" to the thumbnail to allow
a mouse cursor to change to a pointer on mouse over. When apply this code (<a
href="#00"> ) the image border changes back to blue (default link color) even
though it's still definied as black in page properties. Any idea why this
could be? I don't recall having this issue when I was still using version 6.
You can see the page with this problem
[L=here]http://www.awbreydevelopment.com/chronicle.html[/L]

Thx,
- KZ

DiMa - TMM

2004-03-22, 1:28 am

Couple of problems.

First, change the current "null" links you're using. They're reloading the page
each time. Null links should be: java script:;

Then change the border property of your images to border="0", not 1.

Then give the table containing the images a class. Let's call it .imageTable

Then set up your style sheet like so:

..imageTable td img { border: 1px solid #000; }

That way all images within td's within the table w/ the class of .imageTable
will have 1px black borders around them.

--
--
DiMa
Team Macromedia Member for Dreamweaver MX
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews