Welcome To Snipplr


Everyone's Recent Snippets



1 ... 544 545 546 547 548 ... 554
1 558 posted 17 years ago by bbuckley
To move the content away from the background image apply "padding-left" to the "LI" element. In this case "0.6em" has been used. As with vertical alignment, list padding will be determined by the size of your image.
35 5477 posted 17 years ago by zensir
Resize a Popup to Fit an Image's Size By Peter Todorov February 10th 2003 Reader Rating: 9.1 If you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem --...
1 970 posted 17 years ago by zensir
setPropertyしたオブジェクトは、Groovyから宣言済みの変数として参照できる。
1 876 posted 17 years ago by yoshimov
0 531 posted 17 years ago by yoshimov
Rendererを作るかJTable#prepareRendererをオーバーライドする。オーバーライドのほうが汎用的に使えて楽。
0 796 posted 17 years ago by yoshimov
Solo funciona para IE
5 705 posted 17 years ago by aurele
Used to center tables in CSS
8 959 posted 17 years ago by atourino
4 842 posted 17 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 593 posted 17 years ago by yuconner
try: ls -l > pipe cat < pipe
0 609 posted 17 years ago by yuconner
Uses the Luhn formula to quickly validate a credit card. Basically all the digits except for the last one are summed together and the output is a single digit (0 to 9). This digit is compared with the last digit ensure a proper credit card number is...
2 870 posted 17 years ago by savageideas
0 741 posted 17 years ago by markhope
1 614 posted 17 years ago by soxiam
0 553 posted 17 years ago by soxiam
put "register_sidebar_widget(..)" into "function widgets_init()"
4 837 posted 17 years ago by yuconner
If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just that—sets attribute target=“_blank” to all external links in a document to keep your code valid XHTML-S...
2 939 posted 17 years ago by zensir
0 549 posted 17 years ago by soxiam
6 942 posted 17 years ago by yuconner
1 549 posted 17 years ago by kkaefer
0 550 posted 17 years ago by olive
Using CSS is, of course, the preferred method of performing mouseover image swapping, but it's good to have a few tricks up your sleeve. Here's one way of doing it with JS, but the images have to be pre-loaded, or else there'll be a slight lag in the...
1 535 posted 17 years ago by pckujawa
1 ... 544 545 546 547 548 ... 554