Revisions
- December 17, 2012 @ 23:21:39 [Current Revision] by PeterLugg
- December 17, 2012 @ 23:17:35 by PeterLugg
Revision Differences
December 17, 2012 @ 23:17:35 | Current Revision | ||
---|---|---|---|
Content | |||
Added: This is loosely taken from this page: | |||
Added: Here is the html structure: | |||
Added: [html] | |||
Added: <div class="container"> | |||
Added: <p> | |||
Added: Your content here. | |||
Added: </p> | |||
Added: </div> | |||
Added: [/html] | |||
Added: Here's the css: | |||
Added: Must have a height, be set to be a table and have the vertical-align set. | |||
Deleted: | Added: [css] | ||
Added: .container { height:75px; display: table; vertical-align:middle; } | |||
Added: .container p { display:table-cell; vertical-align: middle; } | |||
Added: [/css] |
Note: Spaces may be added to comparison text to allow better line wrapping.
No comments yet.