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 830 posted 12 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 722 posted 15 years ago by corey
« Prev 1 Next »