Welcome To Snipplr


Everyone's Recent Snippets



1 ... 376 377 378 379 380 ... 553
Some browsers like Firefox and IE add a dotted outline border over the link user clicked. It is a useful accessibility feature that lets user know which link he clicked or is in focus. But sometimes you need to get rid of this, here’s the CSS you n...
0 1231 posted 16 years ago by paulgrenwood
While most of the internet users prefer to read content online but some of your users might like to print your article. With CSS you can control the page breaks within content just add this CSS class to your stylesheet and add this class to any tag w...
1 1292 posted 16 years ago by paulgrenwood
This is a very tall order, and we are going to be pulling out all kinds of different stuff to make it happen. First of all, because the image needs to scale, a traditional CSS background-image is already disqualified. That leaves us with an inline im...
3 1552 posted 16 years ago by paulgrenwood
This CSS trick lets you highlight the input field currently in focus. This trick does not work in IE though.
0 1132 posted 16 years ago by paulgrenwood
This piece of CSS code will highlight links that open in a new window so that user knows before hand that link will pop open in a new tab or window.
0 1629 posted 16 years ago by paulgrenwood
1 1238 posted 16 years ago by paulgrenwood
I needed today to format the content differently according to the screen resolution of the user. So I thought that just by detecting the screen width using the screen.width property, I could change the stylesheet using jQuery. And so it was. Check th...
0 1268 posted 16 years ago by paulgrenwood
1 1652 posted 16 years ago by paulgrenwood
Though CSS3 standard includes the opacity property, but not every browser supports it, here’s the CSS trick for cross browser transparency.
2 1305 posted 16 years ago by paulgrenwood
Internet Explorer does not understand the min-height property but here’s the CSS trick to accomplish that in IE.
2 1248 posted 16 years ago by paulgrenwood
0 1154 posted 16 years ago by paulgrenwood
0 1065 posted 16 years ago by gpupo
CSS Attribute selectors are very powerful giving you many options to control styles of different elements e.g. you can add an icon based on the href attribute of the a tag to let the user know whether link points to an image, pdf, doc file etc.
0 882 posted 16 years ago by paulgrenwood
In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033. The list below works perfectly in Snow Leopard
0 1340 posted 16 years ago by AzizLight
One drawback: Removal of button leaves a small indent in first line of paragraph, probably an element:style DIV. Don't yet know how to get rid of that.
1 1076 posted 16 years ago by thesislab
Must be inside <body> tag
0 1389 posted 16 years ago by crs
1 1416 posted 16 years ago by thomasvdb
This plugin created in order to prepend() numbering to each matched element
1 1021 posted 16 years ago by chchrist
Helpful for remembering useful CURLOPT constants. Taken from an example in the php manual comments.
3 1570 posted 16 years ago by DrewDouglass
CGI
0 1110 posted 16 years ago by renatoelias
This a simple wrapper for cgi, write in php, use stdin for post, and query_string env, for get =)
0 1112 posted 16 years ago by renatoelias
0 1270 posted 16 years ago by hacker
0 1290 posted 16 years ago by hacker
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 1957 posted 16 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 1760 posted 16 years ago by hacker
I use this to activate basic forms for clients. Just make sure your form input names are named appropriately. Any inputs such as phone or fax that are separated into different inputs should have the same name.
1 1706 posted 16 years ago by dmautz1
as a note to self... in order to find it laters... This will only alter the value of fieldname if the conditions in the WHERE clause are met. With replace we only replace a certain string within fieldname with the replace_with string
1 1712 posted 16 years ago by iroybot
used to sort out empty music-files
0 1675 posted 16 years ago by 1b0t
0 1189 posted 16 years ago by 1b0t
0 1162 posted 16 years ago by wearetherock
1 ... 376 377 378 379 380 ... 553