By admin | Published:
April 25, 2009
Originally posted on 10/25/08 at http://likesalmon.wordpress.com
Turns out the width and height properties only work on anchor tags when used in conjunction with display:block. WTF?
So this does not work:
a { width: 100px; height: 100px; }
But this does:
a { width: 100px; height: 100px; display:block; }
Again, have I seriously never run into this before? Do I [...]
By admin | Published:
April 25, 2009
Originally posted on 10/19/08 at http://likesalmon.wordpress.com
The other day I was laying out a wordpress driven site in css and realized that I didn’t actually understand how the “width” property works. This was extremely embarrassing to admit to myself, because it means I’ve been flubbing and cheating my way through the layout of every website [...]
By admin | Published:
November 14, 2008
This was posted two days ago on Subtraction. Just about everything on Subtraction is worth checking out, but I found this particularly apt right now:
Give up and use tables