On 7/10/06, Taco Fleur <[EMAIL PROTECTED]> wrote:

Does anyone know  whether it is possible with CSS to create a border 
onmouseover/hover inside the  image?
I have a design I  need to implement that has some images with a 2px border 
inside the  image on mouse over, the images are uploaded by the client and the 
client  will not be able to create the 2px border herself.

I was thinking  something like the following

#apartment-image div  a:hover  {
   display:  block;
   border: 2px solid red;
   width:  109px;
   height: 82px;
   position:  relative;
   z-index: 99;
  }

But that doesn't  work, I was hoping it would create a 2px border overlay on 
the image. Thanks in  advance.

#apartment-image div a:hover img {
border: 2px solid red;
}

This is what you should do.


--
--
Christian Montoya
christianmontoya.com ... portfolio.christianmontoya.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to