The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Validation Code vBulletin 4.2.2 Patch Level 4
Hi! W3C Validator gives error.
Привет! W3C Validator выдаёт ошибку. Error Line 231, Column 30: document type does not allow element "ul" here; assuming missing "li" start-tag <ul class="floatcontainer"> Error Line 296, Column 6: end tag for "li" omitted, but OMITTAG NO was specified </ul> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Info Line 231, Column 4: start tag was here <ul class="floatcontainer"> Tell me how to make the code valid? Подскажите, как сделать код валидным? HTML Code:
<ul class="floatcontainer"> <li id="vbflink_bbmenu"><a href="index.php">Главная страница форума</a></li> <li id="vbflink_newposts"><a href="search.php?do=getnew&contenttype=vBForum_Post">Новые сообщения</a></li> <li id="vbflink_pms"><a href="private.php">Личные сообщения</a></li> <li id="vbflink_faq"><a href="faq.php">Справка</a></li> <li id="vbflink_calendar"><a href="calendar.php">Календарь</a></li> <li class="popupmenu" id="vbmenu_community"> <a href="javascript://" class="popupctrl">Сообщество</a> <ul class="popupbody popuphover"> <li id="vbclink_albums"><a href="album.php">Альбомы</a></li> <li id="vbclink_contacts"><a href="profile.php?do=buddylist">Друзья и контакты</a></li> <li id="vbclink_members"><a href="memberlist.php">Список пользователей</a></li> </ul> </li> <li class="popupmenu" id="vbmenu_actions"> <a href="javascript://" class="popupctrl">Опции форума</a> <ul class="popupbody popuphover"> <li id="vbalink_mfr"><a href="forumdisplay.php?do=markread&markreadhash=">Все разделы прочитаны</a></li> <li id="vbalink_settings"><a href="profile.php?do=editoptions">Основные настройки</a></li> <li id="vbalink_profile"><a href="profile.php?do=editprofile">Редактировать свои данные</a></li> </ul> </li> <li class="popupmenu" id="vbmenu_qlinks"><a href="javascript://" class="popupctrl">Навигация</a> <ul class="popupbody popuphover"> <li id="vbqlink_posts"><a href="search.php?do=getdaily&contenttype=vBForum_Post">Сообщения за день</a></li> <li id="vbqlink_threads"><a href="subscription.php">Темы с подпиской</a></li> <li id="vbqlink_contacts"><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">Список знакомых</a></li> <li id="vbqlink_leaders"><a href="showgroups.php">Руководство сайта</a></li> <li id="vbqlink_online"><a href="online.php">Кто на сайте</a></li> </ul> </li> </ul> |
#2
|
||||
|
||||
I have the same error
|
#3
|
|||
|
|||
What template did you edit
|
#4
|
||||
|
||||
You'd need to include the surrounding code, or better yet a link to the page that generates the validation error in order to be able to fix it. There are a couple of invalidly generated code sections in stock vbulletin and you may be hitting some of those.
|
#5
|
||||
|
||||
Here are comments on the site vBulletin (вот комментарии на сайте vBulletin): http://www.vbulletin.com/forum/forum...-patch-level-4
|
#6
|
||||
|
||||
<a href="http://pastebin.com/DeCQZ6ey" target="_blank">http://pastebin.com/DeCQZ6ey</a>
Save it as an html file, your code validates fine. The problem is likely some where else on your page with a customization/addon. |
Благодарность от: | ||
TheLastSuperman |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|