Autor | Zpráva | ||
---|---|---|---|
Jakub Dobrý Profil * |
#1 · Zasláno: 10. 3. 2013, 17:38:56 · Upravil/a: Jakub Dobrý
Dobrý den,
chtěl bych se zeptat proč mi nejde dat na sranky čeština.... Misto hačku to piše otazniky, nebo obdelniky Zde je me php: <?php session_start(); require "priprav-obsah.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $title; ?></title> <style type="text/css" media="all">@import "crafty.css";</style> <link rel="shortcut icon" href="img/favicon.ico" /> <meta name="robots" content="index,follow" /> <meta name="description" content="<?php echo $metapopis; ?>" /> <meta name="keywords" content="<?php echo $klicovaslova; ?>" /> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/zaklad.js"></script> <script type="text/javascript" src="js/priklady.js"></script> </head> <body> <?php include "nadpis.php"; ?> <?php include "menu.php"; ?> <?php include "widgety.php"; ?> <div role="main" id="main"> <div class="article-content"> <center><Font size="5px"> <h2><?php echo $nazev; ?></h2> </center></font> <p><?php echo $text; ?></p> </div> </div> <div id="content-after"></div> </div> <footer> <p>Copyright © 2013 - TheGods! CZ/SK MC server</p> </footer> </div> </body> </html> a css: @charset "UTF-8"; h1, h2, h3, h4, h5, h6, h7, h8, h9 { margin: 0; font-family: Arial, Helvetica, sans-serif; } article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, bannery { display: block; } html, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; color: #222; } nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; } img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } html { background: url(img/bg.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } #page-wrap { width: 1020px; margin: 20px auto; padding: 20px; background: #e9f3ff; -moz-box-shadow: 0 0 20px black; -webkit-box-shadow: 0 0 20px black; box-shadow: 0 0 20px black; } p { font: Arial, Helvetica, sans-serif; margin: 0 0 30px 0; text-indent: 40px; } .container { width: 1020px; text-align: left; margin: 0 auto 20px; } header h1 { margin-top: 20px; font-size: 5em; font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; text-align: center; margin: 0; font-weight: 400; color: #BAAE29;} header h2 { font-size: 2em; font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; text-align: center; margin: 0; font-weight: 400; color: #BAAE29;} header nav li { float: left; } header nav a, header nav a:visited { display: block; background: #333 no-repeat; color: #fff; font-family: Arial, Helvetica, sans-serif; text-decoration: none; margin: auto; padding: 5px 0px 11px; } header nav a:hover { color: #FFF; background-position: center center; } aside[role=complimentary] { float: right; width: 250px; padding-top:0px; } .widget { position:relative; margin-bottom:10px; } .widget-title { height: 35px; padding-top:10px; margin-bottom:0px; font-size: 1.2em; text-align: center; color: #000; background: url(img/widget1.png) no-repeat; font-family: Arial, Helvetica, sans-serif; font-weight: 400; } .widget-content { position:relative; background: url(img/widget2.png) repeat-y; color: #000; padding: 10px; border-radius: 0px 0px 12px 12px;} .widget ul { list-style:none; margin:0; padding:0; } .widget ul ul { margin-left:10px; margin-right:10px; margin-top:5px; } .widget li { border:2px solid #383838; margin-bottom:5px; background:#FFF; } .widget li a { display:block; padding:5px; background:#8B8B8B; color:#FFF; border:2px solid white; text-decoration:none; } .widget li a:hover { background:#515151; } div[role=main] { margin-right: 260px; padding-top: 0px;} div[role=main] h1 a, div[role=main] h1 a:visited, div[role=main] h2 a, div[role=main] h2 a:visited, div[role=main] h3 a, div[role=main] h3 a:visited, div[role=main] h4 a, div[role=main] h4 a:visited, div[role=main] h5 a, div[role=main] h5 a:visited, div[role=main] h6 a, div[role=main] h6 a:visited { text-decoration: none; } div[role=main] h1, div[role=main] h2 { font-family: Arial, Helvetica, sans-serif; } div[role=main] h1 { font-size: 3em; text-transform: uppercase; } div[role=main] h3 { font-size: 1.5em; text-align: left; margin: 20px 0; } div[role=main] h4 { display: block; margin-bottom: 5px; font-size: 1.5em; border-bottom: 2px solid #00a2ff; } div[role=main] h5 { font-size: 1.5em; text-align: center; margin: 20px 0; } article { margin-bottom: 0px; position: relative; padding: 10px 30px 10px; z-index:2; border: 1px solid #71b1ff; border-radius: 25px;} bannery { background: #5ea7ff repeat-y; margin-bottom: 0px; position: relative; padding: 10px 30px 10px; z-index:2; border: 1px solid #71b1ff; border-radius: 70px;} .button, .button:visited { display: block; border: 2px solid #000; font-family: Arial, Helvetica, sans-serif; color: #E0E0E0; text-shadow: 2px 2px #383838; text-align: center; text-decoration: none; background: url(img/tlacitka.png) no-repeat; padding: 5px 15px 9px; } .button:hover { color: #FFFFA0; text-shadow: 2px 2px #3F3F28; cursor: pointer; } table { text-align: center; } tr:nth-child(even) { background: #D3CBB8; } td { vertical-align: center; padding: 0 10px; } td.label { text-align: right; } footer, footer a, footer a:visited, footer a:hover { clear: both; font-size: 0.75em; margin: 10px 0; color: #666; text-decoration: none; } .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; } .ir br { display: none; } .hidden { display: none !important; visibility: hidden; } .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .invisible { visibility: hidden; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } #menu {width: 1100px; height: 30px; margin-left: 0px;z-index: 10;} #menu ul {margin: 0; padding: 0;z-index: 10;} #menu ul li {list-style-type: none; margin: 0; padding: 0; display: inline-block; float: left; width: 127.5px; background-color: none; text-align: center; line-height: 18px;z-index: 10; font-size: 0.9em;} #menu ul li a {display: block;z-index: 10;} #menu-item-2 a { background-color: none; } #menu-item-222 a { background-color: #424242; } #menu-item-122 a { background-color: #24c9ff; } #menu ul li a:hover {background-color: #0075c3;z-index: 10;} #menu ul ul {margin: 0; padding: 0; border: none; width: 221px; width: 221px; display: none; position: fixed; position: absolute; left: auto;z-index: 10;} #menu ul ul li {/*float: none;*/clear: both; display: inline-block;z-index: 10; } Jo a ještě stranky: http://www.thegods.clanweb.eu/ |
||
margin Profil * |
#2 · Zasláno: 10. 3. 2013, 19:02:45
Soubory, které do stránky includuješ (menu.php a widgety.php), mají rozbité kódování. Pravděpodobně jediný způsob opravy je chybné znaky přepsat, uložit v kódování utf-8 (bez BOM) a nahhrát na web.
|
||
Časová prodleva: 11 let
|
0