css - block-level anchor not taking up space around text [IE7] -


I have an anchor tag with some simple CSS:

  div {background- Color: gray; / * For debugging * /} div {display: block; Padding: 6px 4px 6px 7px; Background color: red; In Firefox, the anchor (red) is also clickable beyond the text because it is because it  display: block  occurs with something / /  for the dblogging 

cushion In IE7, when I slip into red area which is not text, then the anchor is no longer a link.

element to add zoom: 1 , Which is not only 60% of all IE bugs (according to a survey created to make this point), but also attempts to plague block-level anchors.

/ Html>

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -