Re: [SMARTY-DEV] Re: Bugreport: html_image shouldn't use border="0"

From: Date: Wed, 25 Feb 2004 08:47:55 +0000
Subject: Re: [SMARTY-DEV] Re: Bugreport: html_image shouldn't use border="0"
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2138@lists.php.net to get a copy of this message
Yeah, most html_* Smarty function are not so usefull extra stuff (and date functions are all only in english, no ?). The best thing is to keep them for backward compatibility and to fix them just to make them compliant, for img tag we could do : <img src="file" alt="" style="border: 0;" width="88" height="31" /> or <img src="file" alt="" style="border: 0; width: 88px; height: 31px;" /> Both are xhtml strict compliant. "Mario Deutschmann" <mdeutschmann@pironet-ndh.com> a écrit dans le message de news:B3E252A41984D411BF68009027E5CE970E0232C3@exchange.piro.net... maybe it's because only a few people use this tag. it made never sense for me to work with that tag in my projects. what is the benefit?? kindly regards mario > -----Ursprüngliche Nachricht----- > Von: Rainer Müller [mailto:rainer.mueller@codingfarm.de] > Gesendet: Mittwoch, 25. Februar 2004 01:47 > An: smarty-dev@lists.php.net > Betreff: [SMARTY-DEV] Re: Bugreport: html_image shouldn't use > border="0" > > > Rainer müller schrieb: > > Hi, > > currently html_image creates an img tag with the attribute > border="0". This > > isn't good because in XHTML there is no attribute border > for the img tag. > > border should not be used by default and should only be > enabled with an > > extra param border. > > > > Raim > Does nodoby noticed that? Or is there nobody interested in valid html? > > Raim > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.smarty.dev (#2138) next »