Autor | Zpráva | ||
---|---|---|---|
Clair Profil * |
#1 · Zasláno: 26. 12. 2007, 21:15:42
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 |
#2 · Zasláno: 26. 12. 2007, 21:16:44
??
|
||
Manq Profil |
#3 · Zasláno: 26. 12. 2007, 21:16:49
|
||
Měsíček Profil |
#4 · Zasláno: 26. 12. 2007, 21:17:32
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 * |
#5 · Zasláno: 26. 12. 2007, 21:19:52
ano, vložil jsem to mezi <head>, ale nefunguje to
|
||
Měsíček Profil |
#6 · Zasláno: 26. 12. 2007, 21:22:16
Pošli link.
|
||
Clair Profil * |
#7 · Zasláno: 26. 12. 2007, 21:36:55
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">© 2007</p></div> </div> </div> </div> </div> </body> </html> |
||
Mastodont Profil |
#8 · Zasláno: 26. 12. 2007, 21:38:23
A ten obsah.php čte data v jakém kódování?
|
||
Měsíček Profil |
#9 · Zasláno: 26. 12. 2007, 21:38:46
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 * |
#10 · Zasláno: 26. 12. 2007, 21:41:00
Měsíček
Ve stylech by chyba být neměla.. |
||
Clair Profil * |
#11 · Zasláno: 26. 12. 2007, 21:43:35
Ale díky za upozornění.
|
||
Dranel Profil |
#12 · Zasláno: 26. 12. 2007, 21:51:32
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 * |
#13 · Zasláno: 26. 12. 2007, 21:54:22
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 |
#14 · Zasláno: 26. 12. 2007, 22:11:02
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 |
#15 · Zasláno: 27. 12. 2007, 00:03:36
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 |
#16 · Zasláno: 27. 12. 2007, 00:04:30
Clair
Třeba Ti pomůže: http://blog.mantisa.cz/text-11-problemy-s-kodovanim-v-html-jiz-nikdy-v ice.php |
||
Časová prodleva: 16 let
|
0