Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged center

« Prev 1 Next »
Position of the element to center needs to be relative to the container.
0 95 posted 8 years ago by Neven
This enables you to center a horizontal unordered list that uses "float:left". Normally, this is almost impossible with pure CSS, but Javascript makes it easy. jQuery makes it even easier.
0 50 posted 11 years ago by corey
« Prev 1 Next »