(Gast)
n/a Beiträge
|
Re: CSS - Dem Wahnsinn nahe (Ausrichtungsfrage)
7. Mai 2006, 19:05

Zitat von Flare:
Und wie hast du es nun hinbekommen? Ich denke mal das wird hier ein paar interessieren! 
In der CSS-Datei:
Code:
.main {
text-align:center;
}
.header {
border: 1px #9A9A9A solid;
width:750px;
text-align:left;
background-color: rgb(227,227,227);
}
In der HTML-datei dann:
Code:
<div class="main">
<div class="header"><p class="maintext">Willkommen</p></div>
</div>
|
|
Zitat
|