Posted By

fugue on 12/29/06


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

pckujawa


Center content


 / Published in: CSS
 

The proper way of centering content using CSS.

  1. BODY { text-align: center; }
  2. #centerItem { text-align: left; margin: auto; }

Report this snippet  

You need to login to post a comment.