Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
First, create two new fields in your table "Created", and "LastModified" as "datetime" fields, being sure to allow nulls. Then run this code as a query to create triggers that will update the appropriate field when a record is modified, or a record...
1
2856
posted 18 years ago by jeffxl
Run this command in the Terminal on Mac OS X to flush the DNS cache on your computer. This is especially helpful when making changes to the host file.
2
2426
posted 18 years ago by jonhenshaw
Mount Samba share from osx terminal, might not show up in Finder
0
2085
posted 18 years ago by vanne
Wer mal nur den IE7 mit css ansprechen will oder muss zb. weil der IE7 einen bestimmten bug hat, kann dies folgendermaßen tun.
*:first-child+html
Wenn man also zb. die schriftfarbe der css class “meineklasse†nur für den IE7 verändern wi...
0
1696
posted 18 years ago by smilylion
Wenn man eine Seite horizontal zentrieren möchte, ist das eigentlich recht einfach. Per CSS kann man mit margin:0px auto; einen div layer perfekt und schnell zentrieren. Bei älteren Browserversionen wie IE5.5 oder IE5.0 funktioniert das aber leider...
1
1812
posted 18 years ago by smilylion
Simple way to check see if a file exists and is readable before you include it. Stops nasty error messages onscreen.
5
2763
posted 18 years ago by 1man
Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.
1
1854
posted 18 years ago by 1man
A CSS sticky footer
http://ryanfait.com/sticky-footer/
Copyright (c) 2006-2007 Ryan Fait
2
1304
posted 18 years ago by masaya
CSS
ç”»åƒç½®æ›ã®ãƒªãƒ³ã‚¯ã‚’クリックã—ãŸéš›ã«ã‚¢ã‚¦ãƒˆãƒ©ã‚¤ãƒ³ãŒãƒ¨ã‚³ã«ä¼¸ã³ã¦ã—ã¾ã†ã®ã‚’é˜²ãæ–¹æ³•
text-index: -9999px;
ãªã©ã—ã¦ç½®æ›ã—ã¦ã„ã‚‹å ´åˆã€ã“ã®æ•°å—ã®é€šã‚Šã«ã‚¢ã‚¦ãƒˆãƒ©ã‚¤ãƒ³ (クリックã—ãŸéš›ã®ç‚¹ç·š) ãŒãƒ¨ã‚³ã«ä¼¸ã³ã¦ã—ã¾ã†ã€‚
ã“れを解決ã™ã‚‹æ–¹æ³•。
1
1354
posted 18 years ago by masaya