meine page mit der ich mich beschäftige
www.strictly4you.com
ist fast ausschliesslich mit CSS positioniert
soweit so gut
nur krieg ichs nicht hin das der 'news' bereich auch zentriert dargstellt wird.
ich hab kan plan was ich falsch mach :-/
vielleicht kann mir jmd helfen
mein html teil:
http://forum.geizhals.at/files/455/html.JPG
mein CSS teil:
/* NEWS */
div#main_news {
height:116px;
display:block;
margin-auto;
overflow:hidden;
display:block;
background-repeat:no-repeat;
background-image:url(../images/news.jpg);
}
table#last_news {
float:left;
width:230px;
margin-left:40px;
}
table#login {
float:left;
width:180px;
margin-left:45px;
}
td.date {
width:75px;
background-color:#9090ea;
}
td#titel {
width:150px;
background-color:#9090ea;
}
div#login {
float:left;
margin-top:10px;
margin-left:35px;
}
.dark {
height:16px;
width:75px;
float:left;
display:block;
background-color:#9090ea;
}
input.login {
width:130px;
height:16px;
color:#000000;
font-size: 6pt;
border:1px #31425C solid;
background-color:#1c1c1c;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
fieldset {
border:0;
margin:0;
padding:0;
}
/* NEWS ENDE*/
was mach ich falsch?
verwende ich im html teil
<span id="....">
dann wird zwar der news content richtig zentriert dargestellt jedoch die tabellen die folgen werden darunter erstellt :-/