note 70458 added to function.imagecolorat

From: Date: Tue, 17 Oct 2006 16:01:48 +0000
Subject: note 70458 added to function.imagecolorat
Groups: php.notes 
Request: Send a blank email to php-notes+get-118619@lists.php.net to get a copy of this message
code part from robert: $output .= '<div style="position:relative;float:left;width:' . $div_width . 'px;height:1px;background-color:' . hexcolor((($div_width > 1)? $previous_color:$current_color)) . '"><img src="bogus.gif" alt="" width="1" height="1" /></div>'; i've optimized this part so that no image is needed: $output .= '<div style="position:relative;float:left;max-width:1px>; max-height:1px;background-color:'. hexcolor((($div_width > 1)? $previous_color:$current_color)).'">&nbsp;</div>'; //sorry for my english, i'm a german xD ---- Server IP: 212.124.37.9 Probable Submitter: 84.57.58.211 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolorat.php Edit -- https://master.php.net/note/edit/70458 Del: integrated -- https://master.php.net/note/delete/70458/integrated Del: useless -- https://master.php.net/note/delete/70458/useless Del: bad code -- https://master.php.net/note/delete/70458/bad+code Del: spam -- https://master.php.net/note/delete/70458/spam Del: non-english -- https://master.php.net/note/delete/70458/non-english Del: in docs -- https://master.php.net/note/delete/70458/in+docs Del: other reasons-- https://master.php.net/note/delete/70458 Reject -- https://master.php.net/note/reject/70458 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118619) next »