Помощник
|
помогите с решением DOCTYPE |
torment
|
Сообщение
#1
|
||
|
|
||
|
|||
Flok |
8.2.2010, 16:29;
Ответить: Flok
Сообщение
#2
|
|
всегда любил, когда берут на выполнение заказ, а потом просят помочь с ним на форумах :sarcastic:
гляньтте, какой доктайп у ебея, верстайте под тот доктайп. |
|
|
torment
|
Сообщение
#3
|
|
Понимаешь, за задание я взялся не добровольно, пришел начальник и сказал, я слышал ты html знаешь, нам тут надо кое что продать, хочу чтоб было так так и вот так, я не профи, всю рекламу из шаблонов сверстал. а вот с DOCTYPE проблема, без него не работает ничего
гляньтте, какой доктайп у ебея, верстайте под тот доктайп Можно немнодо подробнее? |
|
|
Flok |
8.2.2010, 16:56;
Ответить: Flok
Сообщение
#4
|
|
у ebay доктайп следующий:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> т.е. банальный html 4.01 Покажите код вашего рекламного блока, чтобы можно было понять, что в нём не работает. |
|
|
torment
|
Сообщение
#5
|
|
Код большой, привожу целиком, наверное много ошибок и несостыковок, но в браузере работает, идея, фиксированое меню слева при прокрутке, с идущим видеороликом. При вставке на ебай меню не позиционируеться, а просто отображаеться сверху. Попробовал ваш DOCTYPE не помогло
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> </head> <STYLE TYPE="text/css"> body { font-weight: bold; font-size: 8px; } div.pos_fixed { position:fixed; top:175px; left:229px; } .urbangreymenu{ width: 190px; /*width of menu*/ } .urbangreymenu .headerbar{ font: bold 13px Verdana; color: white; background: #606060 url(http://www.e-shoponline.it/images/common/arrowstop.gif) no-repeat 8px 6px; /*last 2 values are the x and y coordinates of bullet image*/ margin-bottom: 0; /*bottom spacing between header and rest of content*/ text-transform: uppercase; padding: 7px 0 7px 31px; /*31px is left indentation of header text*/ } .urbangreymenu ul{ list-style-type: none; margin: 0; padding: 0; margin-bottom: 0; /*bottom spacing between each UL and rest of content*/ } .urbangreymenu ul li{ padding-bottom: 2px; /*bottom spacing between menu items*/ } .urbangreymenu ul li a{ font: normal 12px Arial; color: black; background: #90bade; display: block; padding: 5px 0; line-height: 17px; padding-left: 8px; /*link text is indented 8px*/ text-decoration: none; } .urbangreymenu ul li a:visited{ color: black; } .urbangreymenu ul li a:hover{ /*hover state CSS*/ color: white; background: #7CA9CF; } .shiftcontainer{ position: relative; left: 5px; /*Number should match -left shadow depth below*/ top: 5px; /*Number should match -top shadow depth below*/ } .shadowcontainer{ /* container width*/ background-color: #d1cfd0; } .shadowcontainer .innerdiv{ /* Add container height here if desired */ background-color: white; border: 1px solid gray; padding: 6px; position: relative; left: -5px; /*shadow depth*/ top: -5px; /*shadow depth*/ } TD.sblack { border: 1px solid black; } .gallerycontainer{ position: relative; /*Add a height attribute and set to largest image's height to prevent overlaying*/ } .thumbnail img{ border: 1px solid white; margin: 0 5px 5px 0; } .thumbnail:hover{ background-color: transparent; } .thumbnail:hover img{ border: 1px solid blue; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: lightyellow; padding: 5px; left: -1000px; border: 1px dashed gray; visibility: hidden; color: black; text-decoration: none; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } .thumbnail:hover span{ /*CSS for enlarged image*/ visibility: visible; top: 300px; left: 430px; /*position where enlarged image should offset horizontally */ z-index: 50; } </STYLE> <script LANGUAGE=JavaScript> function sss() { exp.StopPlay (); } function rrr() { exp.Rewind (); } function ppp() { exp.Play () } </SCRIPT> <META http-equiv="Content-Type" content="text/html;"> <body> <div class="pos_fixed"> <div class="urbangreymenu"> <h3 class="headerbar">PC Service SRL</h3> <ul> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Computer</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Stampante laser b/n</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C4/">Stampante laser colori</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C6/">Form CSS</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/">DIVs and containers</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C7/">Links & Buttons</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C8/">Other</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/all/">Browse All</a></li> </ul> </div> <DIV ALIGN="center"> <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromiedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=5,0,0,0" ID="exp" WIDTH="197" HEIGHT="200"> <PARAM NAME="movie" VALUE="http://www.e-shoponline.it/images/common/exp.swf"> <PARAM NAME="quality" VALUE="high"> <PARAM NAME="bgcolor" VALUE="#FFFFFF"> <EMBED SRC="http://www.e-shoponline.it/images/common/exp.swf" NAME="exp" SWLIVECONNECT="true" QUALITY="high" BGCOLOR="#FFFFFF" WIDTH="197" HETGHT="200" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http:/ P1_Prod_Version=shockwaveFlash"></EMBED> </OBJECT> <div> <BUTTON onClick="sss();">STOP!</BUTTON> <BUTTON onClick="ppp();">PLAY</BUTTON> </div> </DIV> </div> <table align = center width = 800 CELLSPACING = 0 style="border: 1px solid black;" > <tr> <td colspan = 2 class = "sblack"> <img src = "http://www.e-shoponline.it/images/common/head1.jpg"> </td> </tr> <tr "border: 1px solid black;"> <td width = 200 class = "sblack"> </td> <td width = 600 class = "sblack"> <table border = 0 width = 600 align = left> <tr> <td> <div> <a class="thumbnail" href="#thumb"><img src="http://www.e-shoponline.it/images/products/ibm 3.0/1.jpg" width="70px" height="70px" border="0" /><span><img src="http://www.e-shoponline.it/images/products/ibm 3.0/1.jpg" /><br /> </span></a> <a class="thumbnail" href="#thumb"><img src="http://www.e-shoponline.it/images/products/ibm 3.0/2.jpg" width="70px" height="70px" border="0" /><span><img src="http://www.e-shoponline.it/images/products/ibm 3.0/2.jpg" /><br /> </span></a> <a class="thumbnail" href="#thumb"><img src="http://www.e-shoponline.it/images/products/ibm 3.0/3.jpg" width="70px" height="70px" border="0" /><span><img src="http://www.e-shoponline.it/images/products/ibm 3.0/3.jpg" /><br /> </span></a> <a class="thumbnail" href="#thumb"><img src="http://www.e-shoponline.it/images/products/ibm 3.0/4.jpg" width="70px" height="70px" border="0" /><span><img src="http://www.e-shoponline.it/images/products/ibm 3.0/4.jpg" /><br /> </span></a> </div> </td> </tr> </table> <h2 align = "center"> <font face = "Verdana" size = 3 color = "black"> <u> PC Pentium 4 IBM ThinkCentre M50 8187 </u> </Font> <h2> <table border = 0 align = left width = 600 CELLSPACING = "0" CELLPADDING = "5"> <tr bgcolor = "7CA9CF"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> CPU </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> 3.0 </b> </Font> </td> </tr> <tr bgcolor = "90BADE"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> SCEDA MADRE </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> IBM </b> </Font> </td> </tr> <tr bgcolor = "7CA9CF"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> RAM </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> 512 </b> </Font> </td> </tr> <tr bgcolor = "90BADE"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> HARD DISK </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> 40 </b> </Font> </td> </tr> <tr bgcolor = "7CA9CF"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> SCEDA VIDEO </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> INTEGRATA FINO A 64MB </b> </Font> </td> </tr> <tr bgcolor = "90BADE"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> SCEDA AUDIO </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> INTEGRATA </b> </Font> </td> </tr> <tr bgcolor = "7CA9CF"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> SCEDA DI RETE </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> LAN Ethernet, Fast Ethernet </b> </Font> </td> </tr> <tr bgcolor = "90BADE"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> UNITA' OTTICA </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> LETTORE CD/DVD/MISTO </b> </Font> </td> </tr> <tr bgcolor = "7CA9CF"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> SISTEMO OPERATIVO </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> WINDOWS XP PRO </b> </Font> </td> </tr> <tr bgcolor = "90BADE"> <td width = 230> <font face = "Verdana" size = 2 color = "black"> <b> PARTICOLARITA </b> </Font> </td> <td width = 450> <font face = "Verdana" size = 2 color = "black"> <b> 2 USB FRONTALI </b> </Font> </td> </tr> </table> <br> <table border = 0 width = 600> <tr> <td width = 200> <img src = "http://www.e-shoponline.it/images/common/offerta.jpg"> </td> <td> <div class="shiftcontainer"> <div class="shadowcontainer"> <div class="innerdiv"> <b> A Soli 5 EURO vi manderemo un kit comprensivo di tastiera, mouse, e cavo di alimentazione usati. </b> </div> </div> </div> <div> <img src="http://www.e-shoponline.it/images/common/tast.jpg" alt="" /></a> <img src="http://www.e-shoponline.it/images/common/mouse.jpg" alt="" /></a> <img src="http://www.e-shoponline.it/images/common/cavo.jpg" alt="" /></a> </div> </td> </tr> </table> <br> <table border = 0 width = 600> <tr> <td width = 340> <div class="shiftcontainer"> <div class="shadowcontainer"> <div class="innerdiv"> <b> IL COMPUTER E PRONTO ALL'USO, CON IL SISTEMA OPERATIVO INSTALLATO BASTA ACCENDERLO. <br> QUESTO PC E' DEDICATO SIA AI PROFESSINISTI CHE ALL'USO DOMESTICO. <br> POSSIBILITA DI FORNITURE PER AZIENDE, INTERNET POINT, SALE POKER. <BR> DISPONIBILI FINO AD ESAURIMENTO SCORTE ANCHE MONITOR LCD USATI A PREZZI MAI VISTI. </b> </div> </div> </div> </td> <td width = 340> <div class="shiftcontainer"> <div class="shadowcontainer"> <div class="innerdiv"> <b> CONTATTANDOCI POTRETE CONFIGURARE I PC IN QUAALSIASI MODO <br> ESEMPIO:AVETE BISOGNO DI PIU RAM, VI SERVE IL LETTORE DVD, L'HARD DISK PIU CAMIENTE <br> NON ESITATE A CONTATTARCI PER E-MAIL O AL NUMERO SOTTOSTANTE <br><br><br><br><br> </b> </div> </div> </div> </td> </tr> </table> <br> <table border = 0 width = 600> <tr> <td width = 350> <div class="shiftcontainer"> <div class="shadowcontainer"> <div class="innerdiv"> <b> <div align = center style = "color:red;"> ASSISTENZA PRE E POST VENDITA: </div> </b> </div> </div> </div> <table border = 0 align = left width = 300 CELLSPACING = "0" CELLPADDING = "8"> <tr > <td width = 100> <font face = "Verdana" size = 1 color = "black"> <b> TEL: </b> </Font> </td> <td width = 200> <font face = "Verdana" size = 1 color = "black"> <b> 3356704830, 0292143569 </b> </Font> </td> </tr> <tr > <td width = 100> <font face = "Verdana" size = 1 color = "black"> <b> E-MAIL: </b> </Font> </td> <td width = 200> <font face = "Verdana" size = 1 color = "black"> <b> <a href="mailto:Andrea%20de%20Simone%20<andrea@e-shoponline.it>" style = "text-decoration: none;">andrea@e-shoponline.it</a> </b> </Font> </td> </tr> </table> <br><br><br><br> <div> <a href="skype:strawberryx1977?chat"><img src="http://download.skype.com/share/skypebuttons/buttons/chat_blue_white_164x52.png" style="border: none;" width="164" height="52" alt="Chatta con me" /></a> </div> </td> <td width = 250> <div> <img src="http://www.e-shoponline.it/images/common/help.jpg" /> </div> </td> </tr> </table> <br> <table border = 0 width = 600> <tr> <td width = 200> <img src = "http://www.e-shoponline.it/images/common/licenza.jpg"> </td> <td width = 480> <div class="shiftcontainer"> <div class="shadowcontainer"> <div class="innerdiv"> I NOSTRI COMPUTER SONO TUTTI CON LICENZA ORIGINALE ATTACCATA AL PC. <BR> POTRETE FARE AGGIORNAMENTI E DOMANDE A MICROSOFT SENZA NESSUN PROBLEMA. <BR> NOI EFFETTUIAMO L'ATTIVAZIONE DEL SISTEMA OPERATIVO, PRIMA DI MANDARVI IL COMPUTER. <BR> DIFFIDATE DA CHI VENDE SENZA LICENZA. </div> </div> </div> </td> </tr> </table> <br> </body> </html> главное чтобы работал вот такой div div.pos_fixed { position:fixed; top:175px; left:229px; } который я применяю тут <div class="pos_fixed">... Без DOCTYPE не работает позиционирование, а ebay строку с DOCTYPE не читает если не затруднит, можно скайп ваш, я попробую лучше обьяснить |
|
|
torment
|
Сообщение
#6
|
|
эх, где же вы, Flok:hmhm:
|
|
|
torment
|
Сообщение
#7
|
|
народ, оч надо, неужели не разбираеться никто(
|
|
|
Flok |
11.2.2010, 16:25;
Ответить: Flok
Сообщение
#8
|
|
постойте. я не знаю, как работает ebay:
он подключает рекламу через фреймы? сдаётся мне, что вы прописываете свой доктайп, ebay свой, в результате получается 2 записи, из-за чего у браузера могут возникать ошибки отображения. попробуйте вообще без доктайпа (подключится только "ебеевский".) |
|
|
torment
|
Сообщение
#9
|
|
если без ,то позиционирование меню не работает вообще, оно просто сверху отображаеться, в этом и проблема)
|
|
|
torment
|
Сообщение
#10
|
|
|
еще такой вопрос, можно ли Doctype прописать в файле css, и указать стили из него?
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Помогите вспомнить рекламного бота Телеграм для обмена рекламой | 0 | Mixatraider | 725 | 21.2.2024, 23:42 автор: Mixatraider |
|
Помогите рещить проблему с монитором. Почему низкое разрешение при подключении монитора через displayport? |
0 | Levels | 1702 | 11.12.2020, 0:48 автор: Levels |
|
Помогите кто нибудь получить партнерку Росбанк! | 7 | heisenberg_mw | 2340 | 7.8.2020, 9:28 автор: heisenberg_mw |
|
Помогите найти тему пожалуйста | 7 | virtas | 12472 | 24.7.2020, 17:02 автор: -JamesSmips- |
|
Помогите с поиском доноров | 3 | tehno_music | 3352 | 4.11.2019, 17:15 автор: goblin78 |
Текстовая версия | Сейчас: 19.4.2024, 10:12 |