| Autor |
Nachricht |
Discmania
Threadersteller
Dabei seit: 18.11.2011
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Fr 18.11.2011 17:06
Titel HTML Waum ist mein Content nicht mittig ? |
 |
|
Hmm kann mir jemand helfe ?
Ich weiss nicht warum der gesamte Contentblock linksbündig ist ???
Danke schon mal
#content {
position: relative;
width: 538px;
background-color: #FFF;
margin: 178px 0px 0px 90px;
padding: 20px 20px 0px 10px;
}
#content2 {
position: absolute;
width: 242px;
height:751px;
background-color: #e2e6d5;
margin: 178px 0px 0px 658px;
padding: 20px 20px 0px 20px;
}
#contentfull {
position: relative;
width: 810px;
background-color: #FFF;
margin: 178px 0px 0px 90px;
padding: 20px 20px 33px 20px;
}
#contentfull2 {
position: absolute;
width: 300px;
background-color: #FFF;
margin: -752px 0px 0px 490px;
padding: 20px 0px 30px 20px;
}
#submenu {
position: absolute;
width: 300px;
margin: 215px 0px 0px 580px;
padding: 0px 0px 0px 0px;
}
#footer {
position: relative;
width: 855px;
margin: 0px 0px 0px 90px;
padding: 0px 0px 0px 0px;
}
#footertxt {
position: relative;
width: 855px;
margin: -40px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
#menue {
position: relative;
top: 178px;
left: 90px;
color: #000;
width: 900px;
}
|
|
| |
|
 |
| |
|
 |
Alex
Dabei seit: 29.11.2005
Ort: Frankfurt am Main
Alter: 25
Geschlecht:
|
Verfasst Fr 18.11.2011 17:20
Titel
|
 |
|
ohne die dazu gehörige HTML struktur kann dir hier niemand helfen...
Optimaler weise ist die HTML seite schon irgendwo online und du kannst uns den link schicken!
|
|
| |
|
 |
Piki
Dabei seit: 30.01.2008
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Fr 18.11.2011 17:23
Titel
|
 |
|
Für den DIV-Container, welcher den gesamten Inhalt umschließt, der mittig stehen soll (ich nehme an, es ist „content“):
margin: 0 auto;
|
|
| |
|
 |
Discmania
Threadersteller
Dabei seit: 18.11.2011
Ort: -
Alter: -
Geschlecht: -
|
|
| |
|
 |
mokleini
Dabei seit: 23.12.2007
Ort: deutschland
Alter: -
Geschlecht:
|
Verfasst Fr 18.11.2011 19:12
Titel
|
 |
|
|
pack das background-image des #wrapper in den body-tag und gib dem wrapper eine breite von ca 960px
|
|
| |
|
 |
pantonine
Dabei seit: 03.03.2011
Ort: gehen Sie bitte weiter…
Alter: -
Geschlecht: -
|
Verfasst Fr 18.11.2011 19:13
Titel
|
 |
|
|
Weil Deine Elemente mit left: 90px; positioniert sind?!
|
|
| |
|
 |
easteregg
Dabei seit: 15.02.2003
Ort: Deutschland
Alter: 24
Geschlecht:
|
Verfasst Fr 18.11.2011 20:26
Titel
|
 |
|
|
Und wenn du schonmal dabei bist, mach kein 4000 Pixel hohes Hintergrundbild sondern gib über CSS eine no-repeat Anweisung mit Hintergrundfarbe schwarz...
|
|
| |
|
 |
Discmania
Threadersteller
Dabei seit: 18.11.2011
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Mo 21.11.2011 13:07
Titel
|
 |
|
|
Danke, ihr seid der Hammer !!!
|
|
| |
|
 |
| |
|
 |
| Ähnliche Themen |
[css] content mittig platzieren/ausrichten
[html] Problem mit mittig ausrichten
HTML/CSS UL mit IMG mittig?
Content Bereich in HTML zuweisen
[CSS] - HTML Entity in CSS Kaskade 'content'
Content Editing, statt Content Management
|
 |