Dragonfly CMS - German Community  
Toggle Content
Toggle Content Navigation

Toggle Content Wer ist wo
 Bots:
1: Google > Bildergalerie
 Visitors:
1: Benutzerbereich
2: Forum 9.x
3: Downloads
4: Startseite

Toggle Content Languages

Toggle Content Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

Toggle Content Downloads (Top)

Forum 9.x > > Dragonfly CMS 9.x > > Installation & Upgrades 9.x > > ganze Seite zentrieren
ganze Seite zentrieren
Fragen rund um die Installation und Upgrades

View previous topic :: View next topic  
Author Message
roxstar
Investigator
Investigator


Joined: May 01, 2006
Posts: 11

PostPosted: 01.05.2006 10:36    Post subject: ganze Seite zentrieren Reply with quote

Hallo,

bin gerade dabei, mir ein eigenes Theme zu basteln, ausgehend vom cpgnuke-Stanardtheme.
Möchte die ganze Seite "verschmälern", was mir auch gelungen ist.

Allerdings ist die Seite jetzt links ausgerichtet, ich möchte sie aber zentriert haben. Hab schon lange rumprobiert, finde die richtige "Schraube" hierfür in der style.css aber leider nicht....

Kann mir da jmd. weiterhelfen ?

Vielen Dank !


roxstar's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
SunOS/1.3.31/4.4.1 /4.0.24/9.0.6.1
Back to top
View user's profile
Ertan
Webmaster
Webmaster


Joined: Mar 19, 2004
Posts: 1247
Location: Germany

PostPosted: 01.05.2006 21:38    Post subject: Re: ganze Seite zentrieren Reply with quote

demolink :

oder mehr infos Wink

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
roxstar
Investigator
Investigator


Joined: May 01, 2006
Posts: 11

PostPosted: 02.05.2006 06:27    Post subject: Re: ganze Seite zentrieren Reply with quote

Hallo,

hier ist der Link zu der Seite, für ich gerade am Theme rumbastle:
www.ulreiff.de/funkaff...dragonfly/

Ich hoffe das war mit 'demolink' gemeint...


roxstar's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
SunOS/1.3.31/4.4.1 /4.0.24/9.0.6.1
Back to top
View user's profile
Ertan
Webmaster
Webmaster


Joined: Mar 19, 2004
Posts: 1247
Location: Germany

PostPosted: 02.05.2006 13:36    Post subject: Re: ganze Seite zentrieren Reply with quote

suche css nach :
class=

maintable
headtable

...

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
roxstar
Investigator
Investigator


Joined: May 01, 2006
Posts: 11

PostPosted: 02.05.2006 16:12    Post subject: Re: ganze Seite zentrieren Reply with quote

Hallo Ertan,

zunächst vielen Dank für deine Replys !

Genau in diesen css classes (maintable, headtable) habe ich die Breite heruntergesetzt mit '...width: 75%;...'.
Aber mit welchem css-Attribut bekomme ich das Zentrieren hin ? Question


roxstar's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
SunOS/1.3.31/4.4.1 /4.0.24/9.0.6.1
Back to top
View user's profile
Ertan
Webmaster
Webmaster


Joined: Mar 19, 2004
Posts: 1247
Location: Germany

PostPosted: 03.05.2006 12:10    Post subject: Re: ganze Seite zentrieren Reply with quote

de.selfhtml.org/css/ei...chtung.htm

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
roxstar
Investigator
Investigator


Joined: May 01, 2006
Posts: 11

PostPosted: 03.05.2006 16:33    Post subject: Re: ganze Seite zentrieren Reply with quote

Bei obigem Link wolltest du wahrscheinlich auf 'text-align' hinaus, das hatte ich aber schon erfolglos versucht....

Ich hab' jetzt aber die Lösung:
In den Klassen '.headtable' und '.maintable' in style.css gibt man zur Angabe der rel. Breite einen prozentualen Wert an: 'width: 80%;'.
Die eigentliche Zentrierung erfolgt mit den Befehlen
margin-left: auto;
margin-right: auto;

die man ebenfalls in in beiden Klassen eingibt.

Vielleicht kann sich mit dieser Info jmd. etw. "Suchzeit" ersparen...


roxstar's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
SunOS/1.3.31/4.4.1 /4.0.24/9.0.6.1


Last edited by roxstar on 03.05.2006 20:41; edited 1 time in total
Back to top
View user's profile
Ertan
Webmaster
Webmaster


Joined: Mar 19, 2004
Posts: 1247
Location: Germany

PostPosted: 03.05.2006 17:15    Post subject: Re: ganze Seite zentrieren Reply with quote

nice Wink

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Installation & Upgrades 9.x
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Interactive software released under GNU GPL, Code Credits, Privacy Policy