My Top Ten Css Tricks

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View My Top Ten Css Tricks as PDF for free.

More details

  • Words: 2,237
  • Pages: 7
My Top Ten CSS Tricks

1 of 7

http://www.sitepoint.com/print/top-ten-css-tricks

Article Home » Client Side Coding » CSS Tutorials » Page 1

My Top Ten CSS Tricks

Trenton Moss Trenton is crazy

By Trenton Moss September 27th 2005 Reader Rating: 9 CSS [1] can be complex, and as each new browser version is released, you may well find yourself struggling to keep up with the latest tips and hacks. But those tips and hacks will save your sanity! Here, I've put together the ten tips that I find most helpful, to save you the hassle of scrounging around the Web for solutions when time is tight.

1. Block vs. Inline Level Elements

about Web usability and accessibility – so crazy that he went and started his own web accessibility and usability consultancy to help make the Internet a better place for everyone. Trenton Moss has written 13 articles for SitePoint with an average reader rating of 8.8. View all articles by Trenton Moss...

Nearly all HTML [2] elements are either block or inline elements. The characteristics of block elements include: Always begin on a new line Height, line-height and top and bottom margins can be manipulated Width defaults to 100% of their containing element, unless a width is specified Examples of block elements include
,

,

,
,