Quantcast
Channel: Is putting a div inside an anchor ever correct? - Stack Overflow
Viewing all articles
Browse latest Browse all 17

Answer by user1081070 for Is putting a div inside an anchor ever correct?

$
0
0

I think that most of the time when people ask this question, they have build a site with only divs, and now one of the div needs to be a link.

I seen someone use a transparent empty image, PNG, inside an anchor tag just to make a link inside a div, and the image was the same size as the div.

Pretty sad actually...but it works...


Viewing all articles
Browse latest Browse all 17

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>