Hallo,
suchst du vielleicht solch ein Beispiel?
Mit freundlichen Grüßen
André
Das ist auch nicht genau in der Mitte! Schau dir mal das an:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<title>Dead Centre</title>
<style type="text/css" media="screen"><!--
<!--
#horizon
{
color: white;
background-color: #0ff;
text-align: center;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block
}
#content
{
font-family: Verdana, Geneva, Arial, sans-serif;
}
--></style>
</head>
<body>
<div id="horizon">
<div id="content"> <h1> Text <br> Text <br> Text </h1> </div>
</div>
</body>
</html>