Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
That's normally what I do also (what LadynRed pointed out), but if you ever have an image inside of an anchor (<a href="wherever.html"><img src="whatever.jpg" /></a>), having the image set to "block" will unfortunately make the hover space of the link (that makes the cursor into a hand) take up all of the available horizonal space, which is confusing. Therefore, knowing that images are inline elements, and can also be centered with text-align: center, is good knowledge to have.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|