public marks

PUBLIC MARKS from lecyborg with tags css & firefox

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 css

astuce +   blog +   documentation +   firefox +   floating +   graphisme +   grid +   html +   ie +   internet explorer +   layout +   logiciel +   menu +   opensource +   optimisation +   palette +   php +   programmation +   sliding doors +   tab +   template +   tutorial +   utile +   web +   web developer +   web2.0 +