18-10-2012, 18:17
Witam,
tworzę nowy szablon do Wordpressa i napotkałem taki problem, że tylko u mnie strona dobrze wygląda, natomiast u innych już nie. Dodałem kod na początku, który resetuje ustawienia css, ale i tak to nic nie daje. Dla przykładu:
Strona u innych: http://www.bankfotek.pl/image/1345517.jpeg
Strona u mnie: http://www.bankfotek.pl/image/1342360.jpeg
Adres strony: http://testsitedd.cba.pl/x/
CSS: http://wklej.org/id/849780/
Validator podaje 3 błędy, ale nie wiem jak je rozwiązać.
tworzę nowy szablon do Wordpressa i napotkałem taki problem, że tylko u mnie strona dobrze wygląda, natomiast u innych już nie. Dodałem kod na początku, który resetuje ustawienia css, ale i tak to nic nie daje. Dla przykładu:
Strona u innych: http://www.bankfotek.pl/image/1345517.jpeg
Strona u mnie: http://www.bankfotek.pl/image/1342360.jpeg
Adres strony: http://testsitedd.cba.pl/x/
CSS: http://wklej.org/id/849780/
Validator podaje 3 błędy, ale nie wiem jak je rozwiązać.
Kod:
Line 17, Column 60: & did not start a character reference. (& probably should have been escaped as &.)
…fonts.googleapis.com/css?family=Varela&subset=latin,latin-ext' rel='stylesheet…
Line 101, Column 50: Element script must not have attribute charset unless attribute src is also specified.
<script type="text/javascript" charset="utf-8">
Line 172, Column 98: Element div not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
…nojs megaMenuVertical megaMenuOnHover"><ul id="menu-menu" class="megaMenu"><li…
Contexts in which element div may be used:
Where flow content is expected.
Content model for element ul:
Zero or more li elements.