| | |
| Stránka: 1 z 1
| [ Príspevkov: 9 ] | |
Autor | Správa |
---|
Registrovaný: 23.12.10 Prihlásený: 10.09.22 Príspevky: 1056 Témy: 157 Bydlisko: KK/PP/BA | Napísal F3RY: 21.03.2012 21:29 | |
|
Pri validacii stranky som narazil na tento problem:
Kód: <p style="text-align: right;"> </p>
Kde je chyba?
_________________ HP ProBook 4530s Intel® Core™ i5-2430M (2.4GHz, 3MB, 2 jadrá)*4GB 1333MHz DDR3*ATI Mobility Radeon HD 6490 1GB + Intel HD Graphics 3000*640GB SATA 5400RPM *Windows 7 Home Premium 64 bitová verzia Lenovo IdeaPad Z50-70 Intel Core i5 4210 Haswell* NVIDIA GeForce GT 840M 4GB + Intel HD Graphics 4000*SSHD 1TB 5400 otáčok + 8GB cache*RAM 4GB* Full HD (1920 × 1080)*Windows 10 pro
Boh je reálny, pokial nebol deklarovaný ako integer |
|
Registrovaný: 11.08.07 Príspevky: 4088 Témy: 34 Bydlisko: Brno | Napísal Ďuri: 21.03.2012 21:31 | |
|
Konkretne s tymto kuskom kodu nikde, ukaz cely kod.
|
|
Registrovaný: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 Bydlisko: Žilina |
Pravdepodobne pcháš <p> tam, kde sa pchať nesmie
_________________ C#, PHP, ... |
|
Registrovaný: 23.12.10 Prihlásený: 10.09.22 Príspevky: 1056 Témy: 157 Bydlisko: KK/PP/BA | Napísal autor témy F3RY: 21.03.2012 21:41 | |
|
No riesim to cez CMS MS. V html to vyzera tak: Kód: <h2>{global_content name='H2'}</h2> v bloku: Kód: Stolárska firma <p style="text-align: right;"> </p>
pricina:
Citácia: Document type does not allow element ... here; missing one of ... start-tag Cause:
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.
There are 2 types of elements in the body of a HTML file, inline and block elements. 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>").
In the following sample, the <font> tag is an inline tag which can only contain other inline tags. But the <p> tag is a block tag. So a <p> tag can not be contained in a <font> tag.
Myslim, ze 2 elementy sucastne nepouzivam, no neviem, ako sa sprava ten blok. Pripadne, ako to vyriesit inak.
_________________ HP ProBook 4530s Intel® Core™ i5-2430M (2.4GHz, 3MB, 2 jadrá)*4GB 1333MHz DDR3*ATI Mobility Radeon HD 6490 1GB + Intel HD Graphics 3000*640GB SATA 5400RPM *Windows 7 Home Premium 64 bitová verzia Lenovo IdeaPad Z50-70 Intel Core i5 4210 Haswell* NVIDIA GeForce GT 840M 4GB + Intel HD Graphics 4000*SSHD 1TB 5400 otáčok + 8GB cache*RAM 4GB* Full HD (1920 × 1080)*Windows 10 pro
Boh je reálny, pokial nebol deklarovaný ako integer |
|
Registrovaný: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 Bydlisko: Žilina |
Pcháš p do h2??
_________________ C#, PHP, ... |
|
Registrovaný: 23.12.10 Prihlásený: 10.09.22 Príspevky: 1056 Témy: 157 Bydlisko: KK/PP/BA | Napísal autor témy F3RY: 25.03.2012 20:56 | |
|
Vdaka.
Este jednu vec by som potreboval. Upozornuje ma na toto:
Kód: <table class="pagetable" width="929" cellspacing="0">
Citácia: <...> lacks "..." attribute Cause: An HTML tag has a mandatory attribute, but this attribute is missing.
_________________ HP ProBook 4530s Intel® Core™ i5-2430M (2.4GHz, 3MB, 2 jadrá)*4GB 1333MHz DDR3*ATI Mobility Radeon HD 6490 1GB + Intel HD Graphics 3000*640GB SATA 5400RPM *Windows 7 Home Premium 64 bitová verzia Lenovo IdeaPad Z50-70 Intel Core i5 4210 Haswell* NVIDIA GeForce GT 840M 4GB + Intel HD Graphics 4000*SSHD 1TB 5400 otáčok + 8GB cache*RAM 4GB* Full HD (1920 × 1080)*Windows 10 pro
Boh je reálny, pokial nebol deklarovaný ako integer |
|
Registrovaný: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 Bydlisko: Žilina |
Si si istý, že sa jedná práve o tento riadok? Píše ti to, že element by mal mať povinný atribút, ale si ho nedodal, čo je v tomto prípade trochu blbosť. Neviem o tom, že by bol zápis <table> nevalidný.
_________________ C#, PHP, ... |
|
Registrovaný: 23.12.10 Prihlásený: 10.09.22 Príspevky: 1056 Témy: 157 Bydlisko: KK/PP/BA | Napísal autor témy F3RY: 25.03.2012 21:41 | |
|
Ano, som si isty. Ja viem, ze pise, ze nema nadefinovane vlastnosti, ale preco? Prikladam screen:
_________________ HP ProBook 4530s Intel® Core™ i5-2430M (2.4GHz, 3MB, 2 jadrá)*4GB 1333MHz DDR3*ATI Mobility Radeon HD 6490 1GB + Intel HD Graphics 3000*640GB SATA 5400RPM *Windows 7 Home Premium 64 bitová verzia Lenovo IdeaPad Z50-70 Intel Core i5 4210 Haswell* NVIDIA GeForce GT 840M 4GB + Intel HD Graphics 4000*SSHD 1TB 5400 otáčok + 8GB cache*RAM 4GB* Full HD (1920 × 1080)*Windows 10 pro
Boh je reálny, pokial nebol deklarovaný ako integer |
|
Registrovaný: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 Bydlisko: Žilina | |
| Stránka: 1 z 1
| [ Príspevkov: 9 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
| document type does not allow element "BASE" here+b v HTML, XHTML, XML, CSS | 7 | 623 | 24.03.2008 11:10 toma-mato | | A device whitch does not exist was specified v SSD disky | 13 | 191 | 02.01.2024 18:06 Johnnny | | Data to Excel problem: file type is not correct v PHP, ASP | 5 | 709 | 23.08.2009 10:41 p360t | | allow, deny v PHP, ASP | 2 | 402 | 24.03.2011 16:14 pogo | | Allow Moderators to See Invisible v Redakčné systémy | 0 | 428 | 14.10.2006 14:51 JanoF | | document.selected.createRange() v JavaScript, VBScript, Ajax | 7 | 548 | 17.04.2010 9:54 camo | | obnova microsoft xps document writer v Operačné systémy Microsoft | 2 | 461 | 24.02.2012 7:42 tharabas | | OKDO Document Converter MS Word Error v Ostatné programy | 0 | 389 | 15.02.2010 16:56 MAREK17 | | Sencor Element 7 V2 v Mobilné zariadenia | 2 | 438 | 30.11.2012 21:45 ujo zigo | | Ako označiť konkrétny element? v JavaScript, VBScript, Ajax | 4 | 316 | 03.05.2020 18:20 LukIneskoNR | | Track motion a element 3d v Video programy | 1 | 361 | 17.09.2014 16:26 SKRiPT | | Element s 100% width, height v Webdesign | 2 | 379 | 09.03.2014 23:01 majky358 | | sencor element 7v3 nezapne sa v Mobilné zariadenia | 2 | 1089 | 19.05.2014 14:44 liqua1 | | Tablet -Sencor Element 7V2 4GB v Mobilné zariadenia | 17 | 498 | 02.01.2013 14:48 Johnnny | | P: PC skrinku Thermaltake Element T v Predám | 1 | 403 | 04.02.2012 12:21 prkyyynko | | Tablet sencor element 8 v.2 - záhadný jav v Smartfóny a tablety | 18 | 720 | 02.01.2014 19:26 sencor8 |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|