Monthly Archives: April 2007

Targetting Safari

Safari doesn’t usually kick up too much of a fuss, but if you need to target safari and only safari you can do it using the following form#login{ left:360px; } form#login{ left:379px;# } The first value will effect all browsers, the second (followed by the #) will effect all browsers expect Safari. This has to… Read more »

Posted

Outputting CSV files in PHP

$output = “col one,col two,col three\r\n”; $output .= “col one,col two,col three\r\n”; header(“Content-type: application/vnd.ms-excel”); header(“Content-disposition: csv; filename=filename.csv; size=”.strlen($output); echo $output;

Posted