Jump to content
  • 0

png vs IE6


sc@r@bey
 Share

Question

посогите решить проблему, перепробовал все способы описаные на форуме не получается правильно подключить скрипты :)

вот код частично:

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" xml:lang="en" lang="en">

<head>


<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />

<link rel="shortcut icon" href="media/favicon.ico" />

<link rel="stylesheet" type="text/css" href="css/style.css" />





</head>

<body>
<div id="container">
<table border="0" width="1004" cellspacing="0" cellpadding="0">

<tr>
<td id="header" colspan="3"><?php LoadModules("header"); ?></td>
</tr>
<tr>
<td id="line" colspan="3"></td>
</tr>
<tr>
<td valign="top" id="sidebar-left"><?php LoadModules("left"); ?></td>
<td valign="top" id="content"><?php LoadContent(); ?></td>
<td valign="top" id="sidebar-right"><?php LoadModules("right"); ?></td>
</tr>
<tr>
<td id="footer"colspan="3"><?php include ('include/footer.php'); ?></td>
</tr>
</table>
<div id="left-bg"></div>
<div id="f"></div>
<div id="right-bg"></div>
</div>
</body>
</html>

и css

body {
padding: 0px;
margin: 0px;
color: #ffffff;
background-color: #2c2c2c;
font-family: "Times New Roman";
font-size: medium;
background-image: url(../media/bg.png);
background-position: top left;
background-repeat: repeat;
}
#container {
position: relative;
z-index: 1;
margin: 0px auto;
padding: 0px;
width: 1004px;
overflow: hidden;
}
#header {
padding : 0px;
margin: 0px;
width: 100%;
overflow: hidden;
text-align: center;
background-image: url(../media/header.png);
background-position: left top;
background-repeat: no-repeat;

}
#head {
padding-top: 190px;
background-image: url(../media/head.png);
background-position: center;
background-repeat: no-repeat;
}
#line {
background-image: url(../media/line.png);
background-position: center;
background-repeat: no-repeat;
height: 2px;
}

#footer {
margin: 0px;
padding: 0px;
width: 100%;
overflow: hidden;
background-image: url(../media/footer.png);
background-position: center;
background-repeat: no-repeat;
height: 51px;
text-align: center;
}
#left-bg{
position: absolute;
z-index: 10;
left: 0px;
bottom: 51px;
width: 240px;
height: 423px;
background-image: url(../media/left-bg.png);
background-position: top left;
background-repeat: no-repeat;
}
#right-bg{
position: absolute;
z-index: 20;
right: 0px;
bottom: 51px;
width: 240px;
height: 423px;
background-image: url(../media/right-bg.png);
background-position: top left;
background-repeat: no-repeat;
}
#f{
position: absolute;
z-index: -15;
left: 0px;
top: 151px;
width: 236px;
height: 124px;
background-image: url(../media/f.png);
background-position: top left;
background-repeat: no-repeat;
}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
разобрался, поставил XP с родным IE6 и все заработало, до этого была Vista с эмулятором IETester потому и не работало :)

А что у тебя могло заработать, если ты даже не подключил его? В коде что ты привел его нет.

Link to comment
Share on other sites

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