[iframe] omit width/height if parameters not passed?
-
Mobile grid usage (skeleton CSS etc.) is increasing quite a bit, and my iframe height/width is determined by a css class. The width/height of iframes under the content div is set to a certain dimension, so I need an iFrame tag that does NOT include width or height, but just a class attribute. Currently this doesn’t appear to be supported. When I do not specify it, it defaults to 100% width and 480 px height.
Essentially I need this:
<iframe src=”https://….” class=”scale-with-grid”></iframe>
No width/height should even be part of the tag. Is there a way to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[iframe] omit width/height if parameters not passed?’ is closed to new replies.