Anonypayown
New Member
I have always used the following code to make < a > links fill the content of their container. Both chrome and IE are now display the < a > link the size of the content.I have tried explicit pixel height and important tags but chrome still insist on making the link the size of the content. The link has no content and so displays as 0px height and width.Anyone have ideas why this would be occuring?HTML\[code\]<div class="mydiv"> <a href="http://stackoverflow.com/questions/15475411/#"></a></div>\[/code\]CSS\[code\].mydiv { height: 50px; width: 50px; display: block;}.mydiv a { height: 100%; width: 100%; display: block;}\[/code\]