Помогите разобраься!!!!

Старый mweb

Модератор: [mweb team]

Помогите разобраься!!!!

Сообщение 123UBA123 Пт июн 01, 2007 1:22

Ужеболее 2 месяцев интенсивно разбираюсь с CSS и HTML (опыт давнешний). Начал писать свой сайт, но столкнулся с недюженными проблемами... Делаю элементарные DIV (блоки) и в IE 7 все напрочь уезжает..... делая в низу белое пространство.... в Opere 9.21 совершенн все подругому.... мучаюсь уже 4 день с этими проблемами, подскажите кто-нибудь как с этим всем справляться? Или подскажите где хоть описано....

Вот исходник моей странички.... кто может гляньте что зашибки та допущены... буду очен благодан за помощь.... заранее спасибо!!!!

http://ifolder.ru/2202541
123UBA123

 

Сообщение Padonak Пт июн 01, 2007 7:16

подсказываю:


This page is not Valid (no Doctype found)!
Below are the results of attempting to parse this document with an SGML parser.

Error Line 14 column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<html>
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.



Error Line 43 column 53: there is no attribute "TYPE".
<td style='width: 50%;'><div class=sep><spacer type=block></spacer></div></td>
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.



Error Line 43 column 58: element "SPACER" undefined.
<td style='width: 50%;'><div class=sep><spacer type=block></spacer></div></td>
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.



Error Line 52 column 26: end tag for element "DIV" which is not open.
Вы не авторизм/strong>?ваны!</div> <a href="/#login">авторим/code>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.



Error Line 58 column 44: element "SPACER" undefined.
<div class=center_sep><spacer type="block"></spacer></div>


Error Line 64 column 45: element "SPACER" undefined.
</a></div><div class=sep><spacer type=block></spacer></div></td>


Error Line 85 column 33: required attribute "TYPE" not specified.
<script language="JavaScript">
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.



Error Line 87 column 112: end tag for element "FORM" which is not open.
...ype=hidden name=_advr value=50></form>');


Error Line 92 column 15: required attribute "TYPE" not specified.
<script>


Error Line 97 column 261: end tag for element "A" which is not open.
...idth=468 height=15 border=0 ismap></a>');


Error Line 104 column 33: required attribute "TYPE" not specified.
<script language="JavaScript">


Error Line 115 column 15: required attribute "TYPE" not specified.
<script>


Error Line 120 column 418: end tag for element "A" which is not open.
...idth=468 height=60 border=0 ismap></a></iframe>');


Error Line 120 column 427: end tag for element "IFRAME" which is not open.
...height=60 border=0 ismap></a></iframe>');


Error Line 126 column 33: required attribute "TYPE" not specified.
<script language="JavaScript">


Error Line 131 column 112: end tag for element "FORM" which is not open.
...ype=hidden name=_advr value=50></form>');


Error Line 137 column 15: required attribute "TYPE" not specified.
<script>


Error Line 142 column 261: end tag for element "A" which is not open.
...idth=468 height=15 border=0 ismap></a>');


Error Line 155 column 39: element "SPACER" undefined.
<div class=top_line><spacer type=block></spacer></div>


Error Line 163 column 53: required attribute "TYPE" not specified.
<td class=side_ban style='text-align: right;'><script>


Error Line 168 column 468: end tag for element "A" which is not open.
...dth=120 height=240 border=0 ismap></a></iframe>');


Error Line 168 column 477: end tag for element "IFRAME" which is not open.
...eight=240 border=0 ismap></a></iframe>');


Error Line 180 column 54: end tag for element "A" which is not open.
...older.ru/ target=_blank>ifolder.ru</a> - бесплатный хостинг


Error Line 192 column 33: required attribute "ACTION" not specified.
<form method="post" name="form1">


Error Line 192 column 33: document type does not allow element "FORM" here; missing one of "TH", "TD" start-tag.
<form method="post" name="form1">
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



Error Line 197 column 25: document type does not allow element "TD" here.
<td class=text colspan=2>
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).



Warning Line 234 column 196: cannot generate system identifier for general entity "mem".
...? вы не можете прочесѼ/strong>?ь текст - <a href='/random/sound
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.



Error Line 234 column 196: general entity "mem" not defined and no default entity.
...? вы не можете прочесѼ/strong>?ь текст - <a href='/random/sound
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.



Error Line 234 column 199: reference to entity "mem" for which no system identifier could be generated.
...?ы не можете прочестѼstrong title="Position where error was detected.">? текст - <a href='/random/sound/fi
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.



Info Line 234 column 195: entity was defined here.
...и вы не можете прочеѼstrong title="Position where error was detected.">?ть текст - <a href='/random/soun
Error Line 236 column 107: reference to entity "mem" for which no system identifier could be generated.
...=0f8cad87d501863c344d652ec9abb4e2&mem" border=1 id='humanyckeck'></td>


Info Line 234 column 195: entity was defined here.
...и вы не можете прочеѼstrong title="Position where error was detected.">?ть текст - <a href='/random/soun
Error Line 236 column 134: required attribute "ALT" not specified.
...abb4e2&mem" border=1 id='humanyckeck'></td>


Error Line 243 column 7: end tag for element "P" which is not open.
</p>


Error Line 251 column 7: end tag for element "P" which is not open.
</p>


Error Line 267 column 4: end tag for "TR" which is not finished.
</tr>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.



Error Line 270 column 36: element "SPACER" undefined.
<div class="line"><spacer type=block></spacer></div>


Error Line 271 column 46: document type does not allow element "A" here.
<div class=center_div><a href="/">На гламstrong title="Position where error was detected.">?ную<a></div>


Error Line 271 column 52: end tag for "A" omitted, but its declaration does not permit this.
<div class=center_div><a href="/">На главнуѼstrong title="Position where error was detected.">?<a></div>
You forgot to close a tag, or
you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.



Info Line 271 column 44: start tag was here.
<div class=center_div><a href="/">На глмstrong title="Position where error was detected.">?вную<a></div>
Error Line 271 column 52: end tag for "A" omitted, but its declaration does not permit this.
<div class=center_div><a href="/">На главнуѼstrong title="Position where error was detected.">?<a></div>


Info Line 271 column 22: start tag was here.
<div class=center_div><a href="/">На главную<a></div>
Error Line 276 column 26: required attribute "TYPE" not specified.
<td class=side_ban><script>


Error Line 281 column 468: end tag for element "A" which is not open.
...dth=120 height=240 border=0 ismap></a></iframe>');


Error Line 281 column 477: end tag for element "IFRAME" which is not open.
...eight=240 border=0 ismap></a></iframe>');


Error Line 300 column 44: element "SPACER" undefined.
<div class=bottom_line><spacer type=block></spacer></div>


Error Line 302 column 15: required attribute "TYPE" not specified.
<script>


Error Line 307 column 261: end tag for element "A" which is not open.
...idth=468 height=15 border=0 ismap></a>');


Error Line 314 column 16: required attribute "TYPE" not specified.
<script>


Error Line 319 column 418: end tag for element "A" which is not open.
...idth=468 height=60 border=0 ismap></a></iframe>');


Error Line 319 column 427: end tag for element "IFRAME" which is not open.
...height=60 border=0 ismap></a></iframe>');


Error Line 325 column 15: required attribute "TYPE" not specified.
<script>


Error Line 330 column 261: end tag for element "A" which is not open.
...idth=468 height=15 border=0 ismap></a>');


Error Line 369 column 30: required attribute "TYPE" not specified.
<script language="JavaScript">


Error Line 399 column 7: required attribute "TYPE" not specified.
<script>


Error Line 419 column 72: required attribute "TYPE" not specified.
...t" src="http://testsbox.ru/autotest.js?bs=10"></script>


Error Line 419 column 72: document type does not allow element "SCRIPT" here.
...t" src="http://testsbox.ru/autotest.js?bs=10"></script>
Uncaught TypeError: Изображение

Изображение
Аватара пользователя
Padonak
Философ-разговорник
 
Сообщения: 3872
Зарегистрирован: Вт дек 13, 2005 3:23
Откуда: Ростов-на-Дону

Сообщение Muerto Пт июн 01, 2007 9:19

2123UBA123: Юзай хаки. http://www.tigir.com/links.htm - тебе в помощь!
P.-S. Ввёл в яндексе "список хаков css" и получил:
Опечатка? возможно, имелось в виду: «список каков css»
Nadie hablara de nosotras cuando hayamos muerto.
www.muerto.ru
Аватара пользователя
Muerto
Растаман
 
Сообщения: 3597
Зарегистрирован: Пн окт 11, 2004 19:09
Откуда: Москва

Сообщение Berezkin Пт июн 01, 2007 9:24

1. Почему именно дивы???
2. Убери из стиля #Menu свойство padding. Вся проблема в нем.
3. Чтобы выровнять ссылки внутри меню, вставь в <div id="Menu"> свойство align="center"
4. Вставь в <div id="Menu"> еще один див со стилем padding-top: 100px (ну или сколько тебе там надо сверху отступ)
5. Напиши доктайп хотябы...

2Padonak: Вот я никак в толк не возьму нафига валидация
нужна...она дает какие-нить преимущества перед невалидным сайтом?

И вообще, таблицами гораздо проще, я стараюсь дивы не юзать, т.к. отступы работают вообще непонятно как в разных браузерах. Дивы надо юзать когда z-index например нужен...
Windows как презерватив - никому не нравится, но все пользуются.
Аватара пользователя
Berezkin
Заядлый `курильщик`
 
Сообщения: 612
Зарегистрирован: Вт дек 19, 2006 12:39
Откуда: Москоу

Сообщение Padonak Пт июн 01, 2007 22:01

2Berezkin: валидация? ну во-первых весь кривой код если ошибки не фатальны должен потом при выводе страницы править несчастный браузер и как слецтвейе увеличиваетцо время загрузки страницы. кроме того кривая разметка - показатель примерно такой же как и неграмотнайа ретч (как у меня напремер). но разнетцо в том что я тут просто прикалывайусь а вот когда скажем на рекламном щите в городе висит надпись с ошибками то думаю ты согласишсо что это как-то не совсем по-человечески. есть стандарт и следует его придерживатцо вот и все. к тому же кривокодье тлетворно влияет на оценку сайта поисковиком насколько мне известно.
а может быть я просто придурок потому что перехожу улицу только на зеленый или только на пешеходном переходе не кидаю в окно мусор и т.д. -13- вобщем чо тут говорить - писать криво или не криво... все равно каждый решает сам как ему писать код.
Uncaught TypeError: Изображение

Изображение
Аватара пользователя
Padonak
Философ-разговорник
 
Сообщения: 3872
Зарегистрирован: Вт дек 13, 2005 3:23
Откуда: Ростов-на-Дону

Сообщение Berezkin Пн июн 04, 2007 15:35

Ну незнаю насколько критична скорость загрузки, но в том что написано должно быть не абы как, я совершенно согласен.
Windows как презерватив - никому не нравится, но все пользуются.
Аватара пользователя
Berezkin
Заядлый `курильщик`
 
Сообщения: 612
Зарегистрирован: Вт дек 19, 2006 12:39
Откуда: Москоу


Вернуться в Архив

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 34

cron