Jump to content
  • 0

Доктайп


Enid
 Share

Question

Скажите пожалуйста в чем может быть дело? Вот доктайп <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> вставляю его в код получаеться так

392ec5509e12.jpg

Убираю доктайп получаеться вот так ( как мне надо )

fd786877e76d.jpg

Вот код

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>My Site</title>
</head>

<body background="fueller.jpg">
<table border="0" align="center" width="800" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan=2 height="150"><img src="logo.jpg" alt="my site"></td>
</tr>
<tr>
<td bgcolor="#ffffff">left menu</td>
<td bgcolor="#ffffff">center</td>
</tr>
<tr>
<td colspan="2" bgcolor="#ffffff">footer</td>
</tr>
</table>
</body>
</html>

Что я делаю не так??!!

Edited by Enid
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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

<head>

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

<title>My Site</title>

<style type="text/css">

html {

height:100%;

}

body {

height:100%;

}

</style>

</head>

2188c6b9497a.jpg

Что же опять не так? :(

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