Jump to content
  • 0

проблема с представлением страницы в firefox


bgraf
 Share

Question

Добрый день всем ! Сломал голову . Ниже я приведу свой код IE все как надо а в FireFox все ломается . Будте так добрв помогите .

Здесь ссылка на сайт http://www.bgraf.biz/php_doc/test.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Untitled Document</title>

</head>

<style type="text/css">

.color_block {

border: 1px #111B64 solid;

background: #FFFFFF;

width: 296px;

}

em.bt, em.bb {

display: block;

height: 4px;

font-size: 0;

background: url(../bgraf_images/border.jpg) no-repeat;

position: relative ;

width: 298px ;

}

em.bt {

top: -1px;

left: -1px;

}

em.bb {

background-position: 0 -4px;

top: 1px;

left: -1px;

}

</style>

<body>

<script language="JavaScript">

menu1a = new Image();

menu1a.src = "../BGraf_images/about_us_off.jpg";

menu1b = new Image();

menu1b.src = "../BGraf_images/about_us_on.jpg";

menu2a = new Image();

menu2a.src = "../BGraf_images/products_off.jpg";

menu2b = new Image();

menu2b.src = "../BGraf_images/products_on.jpg";

menu3a = new Image();

menu3a.src = "../BGraf_images/ordering_off.jpg";

menu3b = new Image();

menu3b.src = "../BGraf_images/ordering_on.jpg";

menu4a = new Image();

menu4a.src = "../BGraf_images/documents_off.jpg";

menu4b = new Image();

menu4b.src = "../BGraf_images/documents_on.jpg";

menu5a = new Image();

menu5a.src = "../BGraf_images/contact_us_off.jpg";

menu5b = new Image();

menu5b.src = "../BGraf_images/contact_us_on.jpg";

function link_on(num)

{

if (document.images) {

document["menu"+num].src = eval("menu"+num+"b").src

}

}

function link_off(num)

{

if (document.images) {

document["menu"+num].src = eval("menu"+num+"a").src

}

}

</script>

<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">

<tr>

<td width="391" ><img src="../BGraf_pictures/LOGO/BGraf_logo.jpg" alt="" > </td>

<td width="100" valign="bottom" align="left">

<a href="index.htm" onmouseover="link_on(1)" onmouseout="link_off(1)">

<img src="../BGraf_images/about_us_off.jpg" alt="Infornation about company" width="100" height="27" border="0" name="menu1">

</a></td>

<td width="3" valign="bottom" align="left">

<img src="../BGraf_images/line_menu.jpg" alt="" width="3" height="27" border="0"> </td>

<td width="96" valign="bottom" align="left">

<a href="index.htm" onmouseover="link_on(2)" onmouseout="link_off(2)"><img src="../BGraf_images/products_off.jpg" alt="" width= "96" height="27" border="0" name="menu2"> </a></td>

<td width="3" valign="bottom" align="left">

<img src="../BGraf_images/line_menu.jpg" alt="" width="3" height="27" border="0"> </td>

<td width="96" valign="bottom" align="left">

<a href="index.htm" onmouseover="link_on(3)" onmouseout="link_off(3)"><img src="../BGraf_images/ordering_off.jpg" alt="" width= "96" height="27" border="0" name="menu3"> </a></td>

<td width="3" valign="bottom" align="left">

<img src="../BGraf_images/line_menu.jpg" alt="" width="3" height="27" border="0"> </td>

<td width="96" valign="bottom" align="left">

<a href="index.htm" onmouseover="link_on(4)" onmouseout="link_off(4)"><img src="../BGraf_images/documents_off.jpg" alt="" width ="96" height="27" border="0" name="menu4"> </a></td>

<td width="3" valign="bottom" align="left">

<img src="../BGraf_images/line_menu.jpg" alt="" width="3" height="27" border="0"> </td>

<td width="184" valign="bottom" align="left">

<a href="index.htm" onmouseover="link_on(5)" onmouseout="link_off(5)"><img src="../BGraf_images/contact_us_off.jpg" alt="" width="98" height="27" border="0" name="menu5"> </a></td>

</tr>

<tr>

<td background="../BGraf_images/small_line.jpg" colspan="10"></td>

</tr>

</table>

</body>

</html>

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Обсуждения

    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com Портфолио https://www.behance.net/d4d4186e Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ    
    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com   Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ   Портфолио https://www.behance.net/d4d4186e
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • 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