Free Web Development Training and Tutorials Blog




    



Ten CSS Tricks You May Not Know

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of document(s) written in a markup language, such as HTML and XHTML, for web sites. Web site authors use CSS to define the page layout, along with specifying colors, fonts, other aspects of the web page presentation. Using CSS enables web developers to separate document content (written in HTML or XHTML) from document presentation (written in CSS).

This CSS tutorial, titled Ten CSS Tricks You May Not Know, by Trenton Moss of Webcredible, describes ten of his best CSS tips. These will assist you with obtaining the most from your CSS coding

10 CSS Tricks:

   1. CSS font shorthand rule
   2. Two classes together
   3. CSS border default value
   4. CSS document for printing
   5. Image replacement technique
   6. CSS box model hack alternative
   7. Center aligning a block element
   8. Vertically aligning with CSS
   9. CSS positioning within a container
   10. Background colour running to the screen bottom

Comments



 
Name

Email

URL


Remember me?

Comments


Verification code
Verification code