My Programming Tricks
Labels
HTML
Table
Input
iFrame
CSS
Javascript
IE
Firefox
Animation
Other
PHP
Facebook
Sunday, February 28, 2010
Valign doesn’t work in iframe
<iframe> vertical alignment doesn’t work with normal valign property declaration. It has to be adjusted using CSS. Here’s the CSS codes:
iframe { vertical-alignment: top; }
By default if this is set, it aligned to the middle vertically.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment