January 2008
9 posts
List image bullets don't line up with list item...
If your like me and sometimes forget that IE ever existed, you will find that someone using it will soon mention that the list image bullets in your pages don’t line up with the text in the list item.
The solution is to stop using list-style-image, and instead add your image to the li tags background and then give them a bit of padding.
ul {
list-style-type: none;
}
li {
padding-left:...
Qtrax - Free and legal music downloads →
Beta download available for Windows at midnight EST
PHP Fatal error: Allowed memory size of 8388608... →
To change the memory limit for one specific script by including a line such as this at the top of the script:
ini_set("memory_limit","12M");
You can also make this change permanently for all PHP scripts running on the server by adding a line like this to the server’s php.ini file:
memory_limit = 12M
Paste as plain text in Fireworks on Mac
Unlike Fireworks on Windows, Mac annoyingly keeps any formatting when you paste into a text box.
To paste as plain text you will need to right click on the text box and choose Editor…
Now you can paste into the Text Editor and it will use the current formatting of the text box.
Custom Flickr Badge API Documentation →
Create your own Flickr badge using Elliot Swans cheat sheet for the JavaScript API.
2D dock in OSX Leopard
defaults write com.apple.dock no-glass -boolean YES
killall Dock
Replace YES with NO to change back again to 3D
KDE 4.0 Released →
Install LAMP on Mac OS X Leopard
By default Leopard comes pre-installed with Apache 2 and php 5, but there are a few things that you need to do before your are ready to start developing websites.
1. Enable php 5 module in httpd.conf
Open /etc/apache2/httpd.conf and uncomment line 114
LoadModule php5_module libexec/apache2/libphp5.so
2. Install MySQL 5
Download MySQL package and install just the server. (The...