I have a div in which I've placed some anchor tags with the css property:
I've given the div a grey background color and when I view the page on the net the div doesn't surround the anchor tags. The height of the div seems to be the padding, top and bottom, added together.
Any ideas on how I can get the div to inherit the height of the items contained in it?
height:inherit; AND height:auto;
Neither of those work.