Autor Zpráva
LordUfo
Profil *
Dobrý den... Pokouším se o svůj vlastní web - stáhl jsem si webovou šablonu a asi z 50% sem ji upravil, popř. něco smazal. Jediný problém, který mám je, že mi to nezobrazuje velká písmena - a nejen po úpravě, ale i před ní.
Zdrojový kod:


<!---->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Dominik Dvořáček</title>
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="header">
<h1><b>Osobní stránky</h1>
<p>Pepa z Depa</p>
</div>
<div id="menu">
<ul>
<li><a href="#">Domů</a></li>
<li><a href="#">o mě</a></li>
<li><a href="#">galerie</a></li>
<li><a href="#">kontakty</a></li>
<li><a href="#">hry a zábava</a></li>
</ul>
</div>
<div id="page">

<div id="content">
<div class="post">
<h1 class="title">Vítejte</h1>
<div class="entry">
<p>Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla</div>

</div>
</div>
<div id="sidebar">
</div>

</div>
<div style="clear: both; height: 30px">&nbsp;</div>

<div id="footer">
<p>| &copy;2007 | All Rights Reserved | Made by LordUfo |</a></p>
</div>
</html>



Nevíte prosím někdo, jak mam docílit psaní velkých písmen? Předem děkuji!
Manq
Profil
LordUfo
Ukaž to CSS. Hledej text-transform.
LordUfo
Profil *
Pod text-transform sice něco je, ale neřeší to můj problém. Já chci velké písmena na žačátku věty, popřípadě některé slovo, ale ne každé slovo s velkým písmenem, to by vypadalo tak trochu divně :)
Manq
Profil
LordUfo
Tak nám ukaž to CSSko. Bez něj to nevyřešíme.
LordUfo
Profil *
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
margin: 0;
padding: 0;
background: #584504 url(images/img01.gif) repeat-x;
font-size: 13px;
color: #B08A08;
}

body, th, td, input, textarea, select, option {
font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
text-transform: lowercase;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: normal;
color: #CBA61A;
}

h1 {
letter-spacing: -2px;
font-size: 3em;
}

h2 {
letter-spacing: -1px;
font-size: 2em;
}

h3 {
font-size: 1em;
}

p, ul, ol {
line-height: 200%;
}

blockquote {
padding-left: 1em;
}

blockquote p, blockquote ul, blockquote ol {
line-height: normal;
font-style: italic;
}

a {
color: #B1B102;
}

a:hover {
text-decoration: none;
}

/* Header */

#header {
width: 778px;
height: 170px;
margin: 0 auto;
background: url(images/img02.jpg) no-repeat;
}

#header h1, #header p {
float: left;
margin: 0;
padding-top: 80px;
text-transform: lowercase;
line-height: normal;
}

#header h1 {
}

#header p {
padding-left: 10px;
}

#header a {
}

/* Menu */

#menu {
width: 778px;
height: 50px;
margin: 0 auto;
background: url(images/img03.jpg) no-repeat;
}

#menu ul {
margin: 0;
padding: 14px 0 0 0;
list-style: none;
}

#menu li {
display: inline;
}

#menu a {
padding: 0 20px 0 15px;
background: url(images/img04.gif) no-repeat left center;
text-transform: lowercase;
text-decoration: none;
font-weight: bold;
color: #FFFFFF;
}

#menu a:hover {
text-decoration: underline;
}

/* Page */

#page {
width: 778px;
margin: 0 auto;
padding: 20px 0;
}

/* Content */

#content {
float: left;
width: 480px;
}

.post {
padding: 0 0 20px 0;
}

.title {
margin: 0;
border-bottom: 2px solid #4A3903;
}

.byline {
margin: 0;
}

.meta {
border-top: 1px solid #4A3903;
text-align: right;
color: #646464;
}

.meta a {
padding-left: 15px;
background: url(images/img06.gif) no-repeat left center;
font-weight: bold;
}

/* Sidebar */

#sidebar {
float: right;
width: 240px;
}

#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}

#sidebar li {
}

#sidebar li ul {
padding: 15px 0;
}

#sidebar li li {
padding-left: 30px;
border-bottom: 1px dotted #4A3903;
background: url(images/img06.gif) no-repeat 15px 50%;
}

#sidebar h2 {
margin: 0;
padding: 20px 0 2px 30px;
background: url(images/img05.gif) no-repeat left bottom;
border-bottom: 2px solid #4A3903;
}

#sidebar a {
text-decoration: none;
}

#sidebar a:hover {
text-decoration: underline;
}

/* Footer */

#footer {
clear: both;
padding: 20px 0;
background: #473702;
border-top: 2px solid #4A3903;
text-align: center;
font-size: smaller;
}
LordUfo
Profil *
Vyřešeno - díky moc :)

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

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

0