Re: [WSG] Do width and hight still needed for inline image?
On 11/4/06, Tee G. Peng <[EMAIL PROTECTED]> wrote: Good weekend everyone! I see some sites that don't declare width and hight attribute for inline images and html validotor doesn't give error too. Does this mean we can abandon the two attributes for inline image? Width and height are not required for validation, but for good practice you should always use them, because they help the browser draw the images faster and they solve the problem of the page content jumping as images load and push text down. -- -- Christian Montoya christianmontoya.com ... portfolio.christianmontoya.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Do width and hight still needed for inline image?
On Sat, Nov 04, 2006 at 04:12:24PM -0800, Tee G. Peng wrote: > I see some sites that don't declare width and hight attribute for > inline images and html validotor doesn't give error too. The spec has never required them > Does this mean we can abandon the two attributes for inline image? If you don't tell the browser what size the image is, then it can't know until it has downloaded the file, this can result in documents being reflowed when the image has downloaded which muck up links to fragment identifiers and cause problems for users who started to read and scroll before that time. I'd generally advise specifying the height and width. -- David Dorward http://dorward.me.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Do width and hight still needed for inline image?
Good weekend everyone! I see some sites that don't declare width and hight attribute for inline images and html validotor doesn't give error too. Does this mean we can abandon the two attributes for inline image? Thanks! tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***