Boardunity & Video Forum

Boardunity & Video Forum (https://boardunity.de/)
-   X-Mentor (Archiv) (https://boardunity.de/x-mentor-archiv-f51.html)
-   -   Design Frage X-mentor 1.2.5 (https://boardunity.de/design-frage-x-mentor-1-2-5-a-t2088.html)

Ste 06.07.2004 12:07

Design Frage X-mentor 1.2.5
 
Ich würde gerne X Mentor in die Mitte verschieben, bis auf das navigations Menü kriege ich das auch hin, hat jemand einen Tipp?

bigjay 06.07.2004 13:30

kann man die navi nicht per css in die mitte haun??

haegar 06.07.2004 16:11

Ich würd mal meinen, das sollte man schaffen indem man einfach um
ALLES ein

<div id="wrap"> ALLES </div>

drumrummacht (header.tpl, footer.tpl) und dann an geeigneter Stelle im Stylesheet

div#wrap {
width: so_breitmans_haben_will;
margin: 10px auto 20px auto;
}

hinschreibt.

(so hab ich es mit xmentor 1.2.4 gemacht, sollte also wenn sich nicht alles gändert hat vom Konzept her auch in 1.2.5 funktionieren...)

Grüße, Frank

Ste 07.07.2004 09:24

haegers tipp hat leider nicht funktioniert
bigjays tipp hingegen funktionert ich habe jetz folgendes gemacht
#navigation {
padding: 1px;
margin-left: 10px;
padding-top: 0px;
width: 200px;
background-color: #0066CC;
position: ;
margin: 0px;
left: 10px;
}

bei position steht normaler weise absolut, center bewirkt das das ding richtig steht, aber die Artikel stehen dann rechts unten...

Ste 09.07.2004 18:14

habe jetzt folgendes drin

Zitat:

#navigation {
padding: 1px;
margin-left: 10px;
padding-top: 0px;
width: 200px;
background-color: #0066CC;
position: absolute;
margin: 0px;
left: 100px;
}
und das ding ist natürlich 100 Pixel vom Rand entfernt

wenn ich aber folgendes benutze


Zitat:

#navigation {
padding: 1px;
margin-left: 10px;
padding-top: 0px;
width: 200px;
background-color: #0066CC;
position: absolute;
margin: 0px;
left: auto;
}
dann sitzt das ding genau da wo es sein sollte, aber das menü fiunktioniert nicht mehr...[QUOTE]

Philipp Gérard 18.07.2004 11:14

http://bluerobot.com/web/css/center1.html

http://bluerobot.com/web/css/center2.html

:)


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:58 Uhr.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25