Autor Zpráva
golop
Profil
Delam to v programu coda ale ridi se to jen podle body.. chci aby to bylo podle H1

body {
	margin-left: 0;
	margin-bottom: 0;
	margin-right: 0;
	margin-top: 300px;
	text-align: center;
	background-position: 0px;
	color: black;
	background-color: white;
	font-family: "Lucida Sans", "Lucida Sans Unicode", Arial, Helvetica, sans-serif, Verdana;
	font-size: 40px;
	padding: 0;
	line-height: 1.4;
}
h1 {
	background-color: white;
	z-index: 0;
	color: #9e7c16;
	text-transform: capitalize;
	font-weight: bold;
	font-style: italic;
}
a {
	color: #13a0cf;
	background: #fff;
	text-decoration: none;
}
a:visited {
	color: #13a0cf;
	background: #fff;
	text-decoration: none;
}
a:hover {
	color: #067799;
	background: #fff;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #067799;
	text-decoration: none;
}

<!DOCTYPE html PUBLIC 
  "-//W3C//DTD XHTML 1.0 Strict//EN" 
  "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
  
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">

  <head>
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
    <meta http-equiv="content-language" content="cs" />
    <meta name="author" content="Filip Kartousek" />
    <meta name="copyright" content="Filip Kartousek" />
    <meta name="robots" content="index,follow,noarchive" />
    <title>golop.cz ~ Filip Kartousek
    </title>
  
  <link rel="stylesheet" type="text/css" href="css.css" media="all" />
  <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />

</head>

<body>

  <div id="inside">
 
  <div id="h1">
 
 Filip Kartousek
   
  </div><!--Huge-->
  
  </div><!--inside-->

<!--- Google Analytics Tracking -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-1659581-5");
pageTracker._trackPageview();
} catch(err) {}</script>
<!--- Google Analytics Tracking End -->

</body>

</html>
pEeLL
Profil
pokud ti jde o to aby ti na div h1 fungoval styl tak si uprav ve stylech h1 na #h1
golop
Profil
v css?
pEeLL
Profil
ano
Str4wberry
Profil
Když už jsme u toho, tak uprav <div id="h1"> na <h1>.
Mistr
Profil
Když už jsme u toho, tak uprav <div id="h1"> na <h1>.
Pak si zas ale v CSS uprav #h1 zpět na h1, ale to asi víš.

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

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

0