Home › Forums › CSS › Why is this table not aligning my content? › Re: Why is this table not aligning my content?
July 29, 2012 at 9:04 pm
#106984
Participant
my first thought is – never use tables for layout…
The reason there’s an extra 13 pixels at the top is that the images are aligned to the font baseline by default which pushes them up a little. You could set them to vertical align: bottom; or display: block; – either will work. But I’d try to redo it without the table. You should be able to float them without any trouble (and jnh will suggest inline-block ;)