Published in: CSS
div{ height:100px; } div *{ margin:0; } div p{ line-height:100px; } <p>Content here</p>
You need to login to post a comment.
CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.
picale on 03/13/08
2 people have marked this snippet as a favorite
Published in: CSS
div{ height:100px; } div *{ margin:0; } div p{ line-height:100px; } <p>Content here</p>
You need to login to post a comment.