public marks

PUBLIC MARKS with tags astuce & programmation

11 August 2007 17:45

Centering with CSS

by lecyborg
To center a page properly in a browser, most people use text-align: center; to get around IEs stupidity, and left/right auto margins for all other browsers. However, there’s a better way, which works on all browsers and doesn’t require any IE workarounds. It uses negative margins.

PUBLIC TAGS related to tag astuce

apple +   console +   howto +   mac +   osx +   tip +   tips +   unix +  

Active users

lecyborg
last mark : 11/08/2007 17:48