Can't move an iFrame down in a table HTML -
i trying move iframe down in table inline image.
a screenshot http://prntscr.com/758oku
the code using
<!doctype html> <html> <body> <table style="width:67%" border="10"> <tr> <td vertical-align: top style="vertical-align:top;" style="width: 70%" ><img src="https://example.com/example.jpg" alt="web-image" style="width:200px;height:200px"> </td> <td vertical-align: center style="width: 25%"> <iframe src="http://example.com/tsstatustext.php" name="frame1" scrolling="auto" frameborder="no" align="center"> </tr> </table> </body> </html>
i want move iframe (online) down on same line information
first off, code, now, should be:
<!doctype html> <html> <body> <table style="width:67%;" border="10"> <tr> <td style="vertical-align:top;width: 70%;" ><img src="https://example.com/example.jpg" alt="web-image" style="width:200px;height:200px"> </td> <td style="vertical-align:top;width: 25%"> <iframe src="http://example.com/tsstatustext.php" name="frame1" scrolling="auto" frameborder="no" align="center"> </tr> </table> </body> </html>
to add white space above image use:
<!doctype html> <html> <body> <table style="width:67%;" border="10"> <tr> <td style="vertical-align:top;width: 70%;" ><img src="https://example.com/example.jpg" alt="web-image" style="width:200px;height:200px"> </td> <td style="vertical-align:top;width: 25%"> <iframe src="http://example.com/tsstatustext.php" name="frame1" scrolling="auto" frameborder="no" align="center" style="padding:20px;"> </tr> </table> </body> </html>
just adjust pixel amount of padding achieve desired result.
Comments
Post a Comment