The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> disable hover on a parent but not on img child
Fluflu
post Dec 3 2020, 09:36 AM
Post #1





Group: Members
Posts: 1
Joined: 3-December 20
Member No.: 27,667



Hi smile.gif

I have a <img> inside an <a> link. I am trying to disable my cursor changing when it is on <a> but not when it is on <img>.

Here is my html code :
CODE
<a href="#"class="navbar-brand"><img class="search" src="images/search.png"></a>


Do you know how I could do that?
PS: here is a screen capture of the <a> (delimited by the purple line)

This post has been edited by Fluflu: Dec 3 2020, 09:37 AM


Attached image(s)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th April 2024 - 04:33 AM