Newbie: Kann sich mal jemand diesen CSS-Code angucken?

Beitrag lesen

Nach stundenlangen rumprobieren weiß ich als CSS-Anfänger einfach nicht weiter.
Das Spanclass-Element "logorechts" plaziert sich einfach nicht am rechten Teil der Seite, ganz gleich ob ich float right oder left anweise, Abstände ausprobiere usw.
Das Beispiel ist mit Textfüllern versehen. Ich hoffe, es kann mir jemand sagen, wo der Fehler liegt...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>testseite</title>
<style type="text/css">
<!--
body {
background-color: #000;
}
#logobereich {
height: 101px;
background-color: #01A0E2;
width: 960px;
}
#logolinks {
float: left;
height: 83px;
padding-left: 5px;
background-image: url(bilder/bg1b.jpg);
background-repeat: no-repeat;
width: 500px;
position: absolute;
}
.logorechts {
height: 101px;
float: right;
width: 400px;
padding-right: 11px;
padding-left: 55px;
position: absolute;
}
.navigationstext {
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: normal;
color: #333;
text-decoration: none;
background-image: url(bilder/bogen.jpg);
float: right;
background-repeat: no-repeat;
height: 54px;
width: auto;
padding-top: 20px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 30px;
text-transform: uppercase;
}
#container {
background-color: #930;
width: 960px;
margin-left: -480px;
left: 50%;
top: 10px;
right: auto;
position: absolute;
height: 500px;
border: 1px solid #8d8882;
}
#navigation {
background-color: #FFF;
height: 54px;
}
-->
</style></head>

<body>

<!-- hauptcontainer enthält nur die Seitengrößenangaben und den grauen Rahmen -->
<div id="container">

<div id="navigation">
 <span class="navigationstext">
 navi3
 </span>
 <span class="navigationstext">
 navi2
 </span>
  <span class="navigationstext">
 navi2
 </span>
</div>

<div id="logobereich">
 <div id="logolinks">dd</div>
 <span class="logorechts">xxx</span>
</div>

</div>

</body>
</html>