Re: Re: Bugreport: html_image shouldn't use border="0"
"Tarik ANSARI" <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> a écrit dans le message de news:[email protected]... 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:[email protected]] > Gesendet: Mittwoch, 25. Februar 2004 01:47 > An: [email protected] > 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 > -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php