public marks

PUBLIC MARKS from lecyborg with tags astuce & 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 astuce

css +   firefox +   horloge +   ie +   linux +   pliage +   programmation +   t-shirt +   tweak +   ubuntu +   utile +   vetement +   video +   web developer +