width (img, input elements)

Jump to: navigation, search

width (img, input elements)

This article is Not Ready.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


Applies to  ?


Compatibility

There is no data available for topic "html", feature "width (img, input elements)". If you think that there should be data available, consider opening an issue.

Examples

This example sets the width of the image to 20 pixels regardless of the original size of the image.

<IMG SRC="large.png" WIDTH="20">

Notes

Remarks

If you specify the width property of an img, but not the height property, the resulting height of the img is sized proportionally to the specified width property and the actual height, in pixels, of the source image file. Consider the following example: {

Syntax

See also

Related pages (MSDN)

  • img
  • input type=button
  • input type=checkbox
  • input type=file
  • input type=image
  • input type=password
  • input type=radio
  • input type=reset
  • input type=submit
  • input type=text

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]