Re: Package(s) proposal(s): HTML_Image and HTML_Link.
| From: | Leandro Lucarella | Date: | Sun, 03 Aug 2003 18:47:44 +0000 |
| Subject: | Re: Package(s) proposal(s): HTML_Image and HTML_Link. | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19197@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Davey, el domingo 3 de agosto a las 18:44 me escribiste:
> Width and Height are only to specified when overriding the images actual
> height, and I'm pretty sure are no longer valid in XHTML as they are
> deprecated in favour of CSS.
>
> <spec>
> height %Length; #IMPLIED -- override height --
> width %Length; #IMPLIED -- override width --
> </spec>
>
> Consider using in-line CSS to set the width/height, <img style="width:
> 100px; height: 50px;" src="foo.jpg" /> will still give you the benefits
> you mentioned above (these are simply benefits, not required of the UA
> by the spec).
width and height are both XHTML compiliant (even in Strict type
documents). Only "align", "border", "hspace", and "vspace"
are
deprecated.
At least this is what http://www.w3schools.com/tags/tag_img.asp says
(sorry about the .asp ;-)
- --
LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation
- ------------------------------------------------------------------------
E-Mail / JID: luca@lugmen.org.ar
GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2
GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2
- ------------------------------------------------------------------------
System horror on C: Disco chungo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/LVjQSwIP4LCLT7IRAphaAKCS0GXVjkGY60sQoEXIix38qUduQACfRPhH
P/NMtcUTSD9MUMADaaFR/hU=
=B5yv
-----END PGP SIGNATURE-----