Autor Zpráva
Clair
Profil *
Ahoj, pokouším se vložit na web češtinu, ale stále se mi to nedaří. Vyzkoušel jsem všechny 3, ale ani jeden nejde. Existuje i jiná čeština než v html?
Měsíček
Profil
??
Manq
Profil
http://www.jakpsatweb.cz/cestina.html
Měsíček
Profil
Myslíš tohle?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">

?
Clair
Profil *
ano, vložil jsem to mezi <head>, ale nefunguje to
Měsíček
Profil
Pošli link.
Clair
Profil *
Stránky zatím nechci zveřejňovat, ale posílám kod:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>ABCD</title>
</head>
<body><div id="all">
<link rel="stylesheet" type="text/css" href="uvod.css">
<link rel="stylesheet" type="text/css" href="menu1.css">
<link rel="stylesheet" type="text/css" href="menu2.css">
<link rel="stylesheet" type="text/css" href="kalendar.css">
<link rel="stylesheet" type="text/css" href="odkazy.css">
<link rel="stylesheet" type="text/css" href="123.css">
<style>
a {color: #23471B;}
</style>

<br>
<div id="strankaobal">
<div id="strankaobal1">
<div id="strankaobal2">

<?php include ("obsah.php"); ?>

<div id="hlavnipanelobal">
<div id="hlavnipanelvnitrek">

<div id="hlavnipanelhlavicka">
<h4>Historie plemene</h4>
</div>
<p align="left"><b>NADPIS<b></p>
<p align="left">TEXT
</div>
</div>
</div>

<div class="resetovac"> </div>

</div>
</div>

<div id="strankapaticka">
<p align="center">&copy; 2007</p></div>
</div>

</div>
</div>
</div>

</body>
</html>
Mastodont
Profil
A ten obsah.php čte data v jakém kódování?
Měsíček
Profil
Jen tak pro pořádek :-)) tohle

<link rel="stylesheet" type="text/css" href="uvod.css">
<link rel="stylesheet" type="text/css" href="menu1.css">
<link rel="stylesheet" type="text/css" href="menu2.css">
<link rel="stylesheet" type="text/css" href="kalendar.css">
<link rel="stylesheet" type="text/css" href="odkazy.css">
<link rel="stylesheet" type="text/css" href="123.css">
<style>
a {color: #23471B;}
</style>

si hoď do hlavičky. A jinak ty styly nechápu srry.. nešlo by to do jednoho?
Clair
Profil *
Měsíček

Ve stylech by chyba být neměla..
Clair
Profil *
Ale díky za upozornění.
Dranel
Profil
Clair
On Měsíček myslí jako dát tam pouze 1x <link rel="stylesheet" type="text/css" href="index.css"> a v tom souboru index.css mít všechny styly, které máš teď v 6 souborech
Clair
Profil *
Ano, já jsem to pochopil. Ovšem to můj problém s češtinou nevyřeší... a to mě teď štve víc. Ale i tak díky za rady zkušených ;o)
Nox
Profil
Clair
Jde jen o to, aby se to, co je v
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
shodovalo s kódováním dokumentu (v PSPadu položka menu formát)
a bylo to jedno z utf-8 / windows-1250 / iso-8859-2
Mistr
Profil
Clair
Jak píše kolega Nox - záleží, v čem stránky tvoříš. Pokud je například píšeš v Poznámkovém bloku ve Windows, pak dej kódování
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
mantisa
Profil
Clair

Třeba Ti pomůže: http://blog.mantisa.cz/text-11-problemy-s-kodovanim-v-html-jiz-nikdy-v ice.php

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0