Profile

Achievement

first submission:submitting first snipplet

stephcode's Recent Snippets



« Prev 1 2
Add to config/site.php:
0 1921 posted 13 years ago by stephcode
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0 3311 posted 13 years ago by stephcode
Put the following outside WP
1 1965 posted 14 years ago by stephcode
Replace background colors with your images.
0 1896 posted 15 years ago by stephcode
Annoy your visitors, fool your friends, fun and party. Please note that this also disables ability to write in form fields.
0 1752 posted 15 years ago by stephcode
0 1766 posted 15 years ago by stephcode
And http://www.htpasswdgenerator.com/apache/htaccess.html
0 1945 posted 15 years ago by stephcode
Put in head tag
0 1865 posted 15 years ago by stephcode
0 2114 posted 15 years ago by stephcode
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 1949 posted 15 years ago by stephcode
1 1974 posted 15 years ago by stephcode
0 3095 posted 15 years ago by stephcode
0 1924 posted 15 years ago by stephcode
If user enters city.php from footer.php, page will return certain string. If user enters independently, solution lets user see predefined string (in this case, 'your city').
0 2779 posted 15 years ago by stephcode
0 1768 posted 15 years ago by stephcode
0 2133 posted 15 years ago by stephcode
Not sure what I\'d ever use this for as it doesn\'t exactly lend itself to flexibility in the long term, but saving it anyway.
0 3189 posted 16 years ago by stephcode
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1 2406 posted 16 years ago by stephcode
Thankfully, Sjoerd Visscher mentioned an interesting technique that could be used to force IE to use the specified CSS styling. Specifically, once you create a new DOM element (of the same name as the one in the document) all styling is applied. [.....
0 2155 posted 16 years ago by stephcode
« Prev 1 2