Jump to content

dist

Newbie
  • Posts

    2
  • Joined

  • Last visited

Contacts

  • Web site
    http://unitinfo.ru

dist's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. спасибо, помогло одновременное использование float: right и clear:right
  2. Подскажите, можно ли зафиксировать слой с параметром float: right. Ситуация такая слой(НОВЫЙ СЛОЙ) убегает влево, если высота слоев в правой части сайта больше, чем в левой части <html> <head> <style type='text/css'> #center_left { width:52%; float:left; } #center_right{ width:44%; float: right; padding-left:15px; } #left { width:52%; height:auto; float:left; background-color:#FFFDF4;} #right{ width:43%; float:left; height:auto; padding-left:15px;} #center_right_bottom{ width:468px; float: right;} </style> </head> <BODY> <div style="width:100%;"> <div id="center_left" style="background-color:#FF9900"><br><br>слой id=center_left<br><br></div> <div id="center_right" style="background-color:#FF3300"><br><br>слой id=center_right<br><br> <div id="left" style="background-color:#66FF66"><br><br>слой id=left<br><br></div> <div id="right" style="background-color:#0099FF"><br><br>слой id=right<br><br></div> </div> <div id="center_right_bottom"> <br> НОВЫЙ СЛОЙ <br> </div> </div> </BODY> </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