Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...

Резиновый header и footer.


 Поделиться

Рекомендованные сообщения

Приветствую! Прочитал все написанное! Но так и не нашел решение своей проблемы.
Как сделать Header и Footer резиновыми. Если мой основной файл закодирован, а доступ имеется только к css, и tpl. Вот данные из файлы footer.tpl, еще есть файл css.style в котором указывается общая ширина страницы в 960 пикселей. Как же мне быть, где копать.

   </div> <!-- content -->
   </div>
   <div class="sidebar" id="lsidebar">
{include file="login_box.tpl"}
{if $settings.sticky_listings_widget}
{include file="sticky_listings_box.tpl"}
{/if}
{if $settings.textads_box}
{include file="textads_box.tpl"}
{/if}
{if $settings.subscribe_box}
{include file="subscribe_box.tpl"}
{/if}				   
{if $settings.logo_box}
{include file="logo_box.tpl"}
{/if}				   
{if $settings.newlistings_box && $frm.a != 'new'}
{include file="newlistings_box.tpl"}
{/if}				   
{if $settings.news_box && $frm.a != 'news'}
{include file="news_box.tpl"}
{/if}				   
{if $settings.articles_box}
{include file="articles_box.tpl"}
{/if}				   
{if $settings.paysystems_box}
{include file="paysystems_box.tpl"}
{/if}				   
{if $settings.partners_box}
{include file="partners_box.tpl"}
{/if}				   
{if $settings.last_votes}
{include file="last_votes_box.tpl"}
{/if}				   
{if $settings.last_payments}
{include file="last_payments_box.tpl"}
{/if}				   
{if $settings.last10deposits}
{include file="last_deposits_box.tpl"}
{/if}				   
{if $settings.top_traffic}
{include file="top_traffic_box.tpl"}
{/if}
{if $settings.top_profitable}
{include file="top_profitable_box.tpl"}
{/if}				   
{if $settings.top_monitored}
{include file="top_monitored_box.tpl"}
{/if}				   
{if $settings.top_rcb}
{include file="top_rcb_box.tpl"}
{/if}				   
{if $settings.last_scams}
{include file="last_scams_box.tpl"}
{/if}				   
{if $settings.top_investors}
{include file="top_investors_box.tpl"}
{/if}				   
{if $settings.ads7_enabled}
{include file="hightowerads_box.tpl"}
{/if}
  </div>
  <!--div class="sidebar" id="rsidebar">
  </div--> 

</div> <!-- middle_wrap -->

<div class="footer"> 
 <div class="disclimer"><b>{t}DISCLAIMER{/t}</b>: {$settings.disclaimer|escape:html|nl2br}.</div>
 <div class="copyright">{t}All Rights Reserved.{/t} <a href="{$settings.site_url}">{$settings.site_name}</a></div>
</div>

</div> <!-- globa_wrap -->


{if $ads.8.enabled}
{assign var=ad value=$ads.8}
<div style="position: fixed; top: 0; left: 0;">
{if $ad.banner}
{if !$ad.flash}<a href="{$ad.url|escape:html}"><img src="{$ad.banner_url|escape:html}" border=0 width=125 height=125 alt="{$ad.title|escape:html}"></a>{else}{include file="swfobj.tpl" width=125 height=125 url=$ad.banner_url|escape:html}{/if}
{else}
<a href="{"?a=buy_ads&tid=8"|encurl}"><img src="{"`$theme`images/banner125x125.png"|encurl}" border=0 width=125 height=125 alt="{t}Buy ad now{/t}"></a>
{/if}
</div>
{/if}


{if $ads.9.enabled}
{assign var=ad value=$ads.9}
<div style="position: fixed; top: 0; right: 0;">
{if $ad.banner}
{if !$ad.flash}<a href="{$ad.url|escape:html}"><img src="{$ad.banner_url|escape:html}" border=0 width=125 height=125 alt="{$ad.title|escape:html}"></a>{else}{include file="swfobj.tpl" width=125 height=125 url=$ad.banner_url|escape:html}{/if}
{else}
<a href="{"?a=buy_ads&tid=9"|encurl}"><img src="{"`$theme`images/banner125x125.png"|encurl}" border=0 width=125 height=125 alt="{t}Buy ad now{/t}"></a>
{/if}
</div>
{/if}

{if $ads.10.enabled}
{assign var=ad value=$ads.10}
<div style="position: fixed; bottom: 0; left: 0;">
{if $ad.banner}
{if !$ad.flash}<a href="{$ad.url|escape:html}"><img src="{$ad.banner_url|escape:html}" border=0 width=125 height=125 alt="{$ad.title|escape:html}"></a>{else}{include file="swfobj.tpl" width=125 height=125 url=$ad.banner_url|escape:html}{/if}
{else}
<a href="{"?a=buy_ads&tid=10"|encurl}"><img src="{"`$theme`images/banner125x125.png"|encurl}" border=0 width=125 height=125 alt="{t}Buy ad now{/t}"></a>
{/if}
</div>
{/if}

{if $ads.11.enabled}
{assign var=ad value=$ads.11}
<div style="position: fixed; bottom: 0; right: 0;">
{if $ad.banner}
{if !$ad.flash}<a href="{$ad.url|escape:html}"><img src="{$ad.banner_url|escape:html}" border=0 width=125 height=125 alt="{$ad.title|escape:html}"></a>{else}{include file="swfobj.tpl" width=125 height=125 url=$ad.banner_url|escape:html}{/if}
{else}
<a href="{"?a=buy_ads&tid=11"|encurl}"><img src="{"`$theme`images/banner125x125.png"|encurl}" border=0 width=125 height=125 alt="{t}Buy ad now{/t}"></a>
{/if}
</div>
{/if}

</body>
</html>                
Ссылка на комментарий
Поделиться на других сайтах


Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас
 Поделиться

×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обработка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфиденциальности.