public marks

PUBLIC MARKS from lecyborg with tags ie & programmation

11 August 2007 17:45

Centering with CSS

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.

lecyborg's TAGS related to tag ie

astuce +   css +   firefox +   linux +   logiciel +   programmation +   tutorial +   utile +   web developer +   wine +