HTML <iframe> width Attribute
HTML <iframe> tag
Example
An iframe with a specified height and width:
<iframe src ="/default.asp" width="200"
height="200">
<p>Your browser does not support iframes.</p>
</iframe> |
Try it yourself » |
Definition and Usage
The width attribute specifies the width of an iframe.
Browser Support

The width attribute is supported in all major browsers.
Syntax
Attribute Values
| Value |
Description |
| pixels |
The width in pixels (like "100px" or just "100") |
| percent |
The width in percent of the containing element (like
"20%") |
HTML <iframe> tag
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|