Posts Tagged ‘specifying’

Web Designing-Specifying colours

Wednesday, July 16th, 2008

This tip is in the shorthand article mentioned earlier, but I use it so much I’ll repeat it here: in CSS, when you use hexadecimal colour notation and a colour is made up of three pairs of hexadecimal digits, you can write it in a more efficient way by omitting every second digit:

#000 is the same as #000000, #369 is the same as #336699.

And remember that octothorpe (#) before the colour code.

Another colour related tip is that you can specify web safe colours by using only digits that are multiples of 3 for the red, green, and blue values: 0, 3, 6, 9, C, and F. #99c is a web safe colour, #98c is not.

PHP:Advanced PHP debugger configuration on windows (win32)

Monday, June 30th, 2008

Configuration & Activation ( Windows ):
1) uncomment in php.ini
— php.ini —
extension=php_apd.dll
— php.ini —
2)
specifying [[apd.dumpdir = .]] indicates that dump files will be
stored in the current dir where the tested
php script resides
— php.ini —
zend_extension = d:/php/extensions/php_apd.dll
apd.dumpdir = .
apd.statement_trace = 1
— php.ini —