Jump to content
  • 0

Пожалуйста помогите, трабла с таблицами.


d3zmAn
 Share

Question

Здравствуйте короче делал в wds сайт. Там при просмотре все хорошо отображалось как я назначал в css. Но когда загрузил в мозилле или в другом браузере у меня все мои ячейки <td> стали слева. В чем дело ?

Код страницы.

<!-- Date created: 18.01.2009 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//RU"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Language" content="ru">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta name="author" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>

<table cellspacing="0" cellpadding="0" border="0"><tr>
<td align="center" class='header'><a href="http://d3zman.info/index.html">d3zmAn hOme paGe</a></td>
</tr></table>
 
<table cellspacing="0" cellpadding="0"><tr>
<td align="center" class='menu'><a href="http://d3zman.info/index.html">Заглавная<a/></td>
</tr></table>
 
<table cellspacing="0" cellpadding="0"><tr>
<td align="center" class='project'><a href="http://d3zman.info/project.html">Мои Проекты</a></td>
</tr></table>
 
<table cellspacing="0" cellpadding="0"><tr>
<td align="center" class='blog'><a href="http://d3zman.info/blog.html">Блогер</a></td>
</tr></table>

</body>
</html>

Код css

body {background-color:#fff; }

a {
text-decoration : none;
}
a:link {
color: #BE5841;
}
a:visited {
color: #000;
}
a:active {
color: #000;
text-decoration: none;
}

.header{
font-family : Verdana, Arial, Helvetica, sans-serif;
font - size : 15px;
border-bottom : 1px dashed #000;
border-top : 1px dashed #000;
border-left : 1px dashed #000;
border-right : 1px dashed #000;
padding : 5px;
width : 200px;
height : 50px;
position:relative;
right: -500px;
top: 50px;
bottom: 250px;
}

.menu{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
border-bottom : 1px solid #000;
border-top : 1px solid #000;
border-left : 1px solid #000;
border-right : 1px solid #000;
width: 100px;
height: 25px;
position:relative;
right: -250px;
top: 50px;
bottom: 250px;
}

.project{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
border-bottom : 1px solid #000;
border-top : 1px solid #000;
border-left : 1px solid #000;
border-right : 1px solid #000;
width: 121px;
height: 27px;
position:relative;
right: -375px;
top: 5px;
bottom: 250px;
}

.blog{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
border-bottom : 1px solid #000;
border-top : 1px solid #000;
border-left : 1px solid #000;
border-right : 1px solid #000;
width: 121px;
height: 27px;
position:relative;
right: -515px;
top: -41px;
bottom: 250px;
}

Link to comment
Share on other sites

1 answer 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