Jump to content

Aidyn

Neophyte
  • Posts

    1
  • Joined

  • Last visited

Aidyn's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Добырй день! Я начинающий, потому не судите строго Не могу понять, почему div, в котором расположен еще div, имеет высотку 0 пикселей? Как его растянуть? Просто я хочу изображение на задний фон сделать, а оно не отражается, как я понял, как раз потому что высота div = 0. кусок index.tpl <body>......... <!-- Шапка (The End)--> <!-- Вся страница --> <div id="main"> <!-- Основная часть --> <div id="content"> {include file='slider.tpl'} {$content} </div> <!-- Основная часть (The End) --> </div> <!-- Вся страница (The End)--> <!-- Футер --> <div id="footer"> <a href="http://simplacms.ru">Скрипт интернет-магазина Simpla</a> </div> <!-- Футер (The End)--> </body>кусок CSS #main { margin: 0px auto; width: 1000px;}#content { float: left; width: 567px; margin-bottom: 20px;}надеюсь я понятно написал
×
×
  • 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