Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 2 Ответов
  • 1895 Просмотров
*

timonnn

  • Захожу иногда
  • 366
  • 15 / 0
Разрывается шапка в эксплорере7-8, в других браузерах все нормально. Верстка табличная. Уже в каждой ячейке таблицы прописал размеры и valign="top"? не помогает. В чем подвох  !!!???!!! Помогите, оч прошу.

Код шапки:
Код
<table  width="964" height="237" align="center" border="0" cellpadding="0" cellspacing="0">
<tr height="25" valign="top">
<td width="6" height="25">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>corner_01.gif" width="6" height="25"></td>
<td width="17" height="25">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>corner_02.gif" width="17" height="25"></td>
<td width="128" height="25">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_03_01.gif" width="128" height="25"></td>
<td width="127" height="25">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_03_02.gif" width="127" height="25"></td>
  <td colspan="7" width="677" height="25">
  <img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>corner_12.gif" width="677" height="25"></td>
<td width="9" height="25">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>corner_12-07.gif" width="9" height="25"></td>
</tr>
<tr height="36" valign="top">
<td rowspan="5"width="6" valign="top" class="borderleft"></td>
<td width="17" height="36" bgcolor="#FFFFFF" width="17" height="36" valign="top"></td>
<td width="128" height="36" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_15_01.gif" width="128" height="36"></td>
<td width="127" height="36" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_15_02.gif" width="127" height="36"></td>
  <td colspan="4" width="497" height="36" valign="top" class="zagolovok"> Отопление, водоснабжение, канализация</td>
<td width="60" height="36" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr_23.gif" width="60" height="36"></td>
  <td width="120" height="36" valign="top" colspan="2" bgcolor="#FFFFFF"></td>
  <td valign="top" width="9" height="36" class="borderright"></td>
</tr>
<tr height="106" valign="top">
<td class="shtrih" width="17" height="106" valign="top"></td>
<td width="128" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_27_01.gif" width="128" height="106"></td>
<td width="127" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logoborderleft_27_02.gif" width="127" height="106"></td>
<td width="134" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>kran_29.gif" width="134" height="106"></td>
<td class="shtrih" width="166" height="106" valign="top"></td>
<td width="97" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr31.gif" width="97" height="106"></td>
<td width="100" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr32.gif" width="100" height="106"></td>
<td width="60" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr33.gif" width="60" height="106"></td>
<td width="108" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr34.gif" width="108" height="106"></td>
<td width="12" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr35.gif" width="12" height="106"></td>
<td width="9" height="106" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr36.gif" width="9" height="106"></td>
</tr>
<tr height="17" valign="top" valign="top">
<td width="17" height="17" bgcolor="#FFFFFF"></td>
<td width="128" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logocorner_39_01.gif" width="128" height="17"></td>
<td idth="127" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logocorner_39_02.gif" width="127" height="17"></td>
  <td width="300" height="17" colspan="2" bgcolor="#FFFFFF" valign="top"></td>
<td width="97" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr43.gif" width="97" height="17"></td>
<td width="100" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr44.gif" width="100" height="17"></td>
<td width="60" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr45.gif" width="60" height="17"></td>
<td width="108" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr46.gif" width="108" height="17"></td>
<td width="12" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr47.gif" width="12" height="17"></td>
<td width="9" height="17" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr48.gif" width="9" height="17"></td>
</tr>
<tr height="48" valign="top" valign="top">
<td width="572" height="48" colspan="5" bgcolor="#FFFFFF" valign="top"></td>
<td width="97" height="48" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr55.gif" width="97" height="48"></td>
<td width="100" height="48" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr56.gif" width="100" height="48"></td>
<td width="60" height="48" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr57.gif" width="60" height="48"></td>
<td width="108" height="48" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr58.gif" width="108" height="48"></td>
<td width="12" height="48" valign="top">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>instr59.gif" width="12" height="48"></td>
  <td rowspan="2"valign="top" class="borderright" width="9" height="48"></td>
</tr>
<tr height="5" valign="top">
<td colspan="10" width="949" height="5" valign="top">
  <img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>poloska-top61.gif" width="949" height="5"></td>
  </tr>

</table>

[вложение удалено Администратором]
*

temniy

  • Захожу иногда
  • 413
  • 85 / 9
Re: Верстка шапки сайта в ие7,8
« Ответ #1 : 14.02.2009, 21:05:11 »
valign="top" не влияет, это атрибут для содержимого, а не для самой ячейки. Пропишите -
padding: 0 0 0 0;
Лучший хостинг от 1 евро!
Сервис whois  |  Домены по отличным ценам (более 80 зон, хорошие цены и консультации -> после регистрации)
*

timonnn

  • Захожу иногда
  • 366
  • 15 / 0
Re: Верстка шапки сайта в ие7,8
« Ответ #2 : 14.02.2009, 21:20:33 »
Прописал в каждой ячейке padding, но не помогло
Все, получилось  ;)
Просто надо было в <table> убрать высоту таблицы.

Код
<table  width="964" align="center" valign="top" border="0" cellpadding="0" cellspacing="0">
« Последнее редактирование: 14.02.2009, 21:37:19 от timonnn »
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Валидация сайта

Автор Pinin

Ответов: 26
Просмотров: 4920
Последний ответ 08.05.2017, 17:08:56
от Pinin
Восстановление управляемости сайта на Joomla 1.0.12 после обновления php до версии 5.5 и последовате

Автор galogen

Ответов: 6
Просмотров: 5017
Последний ответ 15.02.2017, 01:58:44
от Alex Revo
Как реализовать рассылку новостей с сайта?

Автор mystique

Ответов: 6
Просмотров: 6276
Последний ответ 08.01.2017, 16:16:51
от vipiusss
как восстановить обычный вид для редактирования сайта?

Автор fasis

Ответов: 10
Просмотров: 6264
Последний ответ 11.08.2016, 15:13:29
от KKAAZZOO
Меню сайта. Выделение активной страницы в меню.

Автор Dies

Ответов: 9
Просмотров: 10358
Последний ответ 27.01.2016, 12:29:26
от Daser