Ich will meine HP in 2 bereiche aufteilen. In einen navigations- und einen Hauptteil. In den Naviteil (links)soll die navigation rein und in den hauptteil (neben navi) der eigentliche Text. der Text im Hauptteil soll ganz oben anfangen.
Mein Code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<html>
<head>
<title>Menü</title>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<style type="text/css">
<!--
#navi
{
prosition:absolute;
top:50pt;left:20pt;
width:100px;
text-align:left;
border-right:1px solid;
padding:5pt;
front-weight:bold;
front-size:11px;
}
#main
{
margin-left:120pt;
margin-right:20pt;
margin-top:1pt;
text-align:justify;
}
-->
</style>
</head>
<body>
<div id="navi">
<p>Die</p>
<p>Navi</p>
<p>kommt</p>
<p>hier</p>
<p>hin</p>
<p>!!!!!!!!!!</p>
</div>
<div id="main">Main</div>
</body>
</body>
</html>
der text wird aber erst auf der höhe des endes vom navigations teil angezeigt.
wie kriege ich diesen Text nach oben?