Jump to content

jestyman

Neophyte
  • Posts

    1
  • Joined

  • Last visited

jestyman's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. <body style="margin:0px;"> <center> Text1 </center> <center><p><iframe src="h_f_l.html" width="200" height="200" style="margin:50%;" ></iframe></p></center> <center> Text2 </center>Хочу сделать так, что бы фрейм постоянно был по центру страницы, оставался по центру стрницы и при растягивании или сжатии страницы, проблема в margin, если на 50% то он улетает куда то далеко вниз... <body> <iframe src="h_f_l.html" width="200" height="200" style="left:10%; top:10%; position:absolute; position:fixed; "></iframe> <iframe src="h_f_r.html" width="200" height="200" style="position:absolute; top:35%; right:30%; "></iframe> <iframe src="h_f_r.html" width="200" height="200" style="position:fixed; bottom:10%; left:10%;" ></iframe> </body>вот собственно, еще одна проблема, средний фрейм почему то располагается по центру только при 30% отступе от топа, а при 50% улетает куда то ниже, хотя при максимальном отдалении страницы он становится вроде, как положено мб тупой вопрос просто долгое время не работал с html.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy