School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,218 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,620 people online right now. Registration is fast and FREE... Join Now!




thumbnail margin

 

thumbnail margin

MrC

20 Oct, 2008 - 12:46 PM
Post #1

New D.I.C Head
*

Joined: 21 Jun, 2008
Posts: 14


My Contributions
Hi

I'm using thumbnails as h-refs. I have them styled as follows

#smallPhoto img:hover{
border:1px solid #FFFFFF;
}

#smallPhoto img{
border:1px solid #999999;
margin: 0 10px 7px 0;

}


and inserted into my html as follows

<div id="smallPhoto">
<A href = "./orchard/orchard.html", onMouseOver="over_button(0)">
<img src = "./res_images/res1_small.jpg" >
</A>
</div>

my problem is that when I click on the img a red etched border appears on the mouse click-down and turns blue on click-up. I want to completely get rid of this effect. Ideas greatly appreciated.

C

User is offlineProfile CardPM
+Quote Post


Posts in this topic
MrC   thumbnail margin   20 Oct, 2008 - 12:46 PM
girasquid   You need to change the styles on the <a> tag...   20 Oct, 2008 - 01:07 PM

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:18PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month