N
nytemare
Ok neues Problem, neues Glück
Ich habe folgenden Quelltext:
<div id="header">Header</div>
<div id="nav">Navigation</div>
<div id="content">Content</div>
<div id="footer">Footer</div>
..und dazu folgendes Stylesheet:
DIV#header {
height: 50px;
background-color: #090;
border: 2px solid #000; }
DIV#nav {
float: left;
width: 200px;
height: 400px;
background-color: #ccc;
border-style: solid;
border-color: #000;
border-width: 0px 2px 0px 2px; }
DIV#content {
float: right;
height: 400px;
background-color: #fff;
border-style: solid;
border-color: #000;
border-width: 0px 2px 0px 0px;
text-align: left; }
DIV#footer {
background-color: #090;
border: 2px solid #000;
clear: both; }
Mein Problem ist, daß in dem div-Container mit der id="content" der Text rechtsbündig ist (also als ob text-align auf "right" gesetzt wäre). Weiß jemand warum bzw. wie ich den Inhalt linksbündig bekomme?
Danke im voraus für Hilfe

Ich habe folgenden Quelltext:
<div id="header">Header</div>
<div id="nav">Navigation</div>
<div id="content">Content</div>
<div id="footer">Footer</div>
..und dazu folgendes Stylesheet:
DIV#header {
height: 50px;
background-color: #090;
border: 2px solid #000; }
DIV#nav {
float: left;
width: 200px;
height: 400px;
background-color: #ccc;
border-style: solid;
border-color: #000;
border-width: 0px 2px 0px 2px; }
DIV#content {
float: right;
height: 400px;
background-color: #fff;
border-style: solid;
border-color: #000;
border-width: 0px 2px 0px 0px;
text-align: left; }
DIV#footer {
background-color: #090;
border: 2px solid #000;
clear: both; }
Mein Problem ist, daß in dem div-Container mit der id="content" der Text rechtsbündig ist (also als ob text-align auf "right" gesetzt wäre). Weiß jemand warum bzw. wie ich den Inhalt linksbündig bekomme?
Danke im voraus für Hilfe
