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

×
×
  • 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