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
.
Koi Playground
Where the template for Frozen Koi plays
Twitter Updates
Labels
- tag (5)
- test (4)
- link (2)
- theme image (1)
Patti Smith
About Me
Blonde Readhead
Sunday, May 24, 2009
Subscribe to:
Post Comments (Atom)
1 comments:
Post a Comment