When using display:table
(with the related table-row
and table-cell
) to set up columns for a layout, don’t forget to set the vertical-align
property. After a while it finally dawned on me why would the padding-top
of both columns seemed to be linked to each other and to the margin-top
of each column’s first element: say hello to vertical-align: baseline
. Change it to something more appropriate for what you're trying to do, maybe top
.
Labels
- personal (9)
- technology (6)
- junk food for thought (5)
- web design (4)
- family (3)
- books (2)
- driving in Monterrey (2)
- meta (2)
- music (2)
- work (2)
- linux (1)
- movies (1)
- resize (1)
- screen (1)
- vmware (1)
About Me
Near
More about me
Far
Sunday, May 24, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment