YourWBB


yourWBB » yourWBB Misc * » Das Proggen » HTML, XHTML, JavaScript & CSS » CSS Frage zu einem CMS (Redaxo) » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag 2.792 Views | | Thema zu Favoriten hinzufügen

Neues Thema erstellen Antwort erstellen

Zum Ende der Seite springen CSS Frage zu einem CMS (Redaxo)
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
Barthez
Mitglied


Dabei seit: 07.07.04
Beiträge: 304
Forenversion: 3.0

 CSS Frage zu einem CMS (Redaxo) Antworten Zitieren Editieren Melden       UP

Hi Leute,

ich habe Redaxo als CMS eingesetzt und möchte einfach nur die gesamte Webseite vertikal zentrieren.

Irgendwie macht es Probleme, kann mir da jemand helfen? Ich hänge die betreffenden CSS Teile mal an

code:
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:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
/*	body
*******************************************************************************/
body {
	background-image:url(bg_body.jpg);
	font-family:verdana, arial, helvetica, sans-serif;
	font-size: xx-small;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: x-small;
}

.clearer {
	display:block;
	clear:both;
	line-height:0;
	height:1px;
	font-size:0;
	visibility:hidden;
}

.clear {
	clear:both;
}

.flLeft { float:left; }
.flRight { float:right; }

.warning { color:#f00; }


/*	website
*******************************************************************************/
#website {
	position:relative;
	display:block;
	margin:0;
	padding:0;
	height:100%;
	width:900px;
	color:#000;
	text-align:left;
}

/*	header
*******************************************************************************/
#header {
	position:relative;
	margin:0;
	padding:0;
	height:130px;
	background-image:url(bg_header.jpg);
}
/* NEW Column */
#col_right {
	position: relative;
	width: 150px;
	float: right;
	padding-top: 5px;
}


/*	logo / breadcrumb
*******************************************************************************/
#logo {
	position:absolute;
	top:0px;
	left:0px;
}

#logo a {
	display:block;
	height:100px;
	width:900px;
	text-indent:-700em;
}


#breadcrumb {
	position:absolute;
	bottom:9px;
	left:5px;
}

#breadcrumb a,
#breadcrumb a:link {
	color:#000;
}

#breadcrumb a:hover {
	text-decoration:underline;
}
/*	content
*******************************************************************************/


#content, #content2 {
	display:block;
	clear:both;
	position:relative;
	padding:0 0 0 0;
}


/* hide from IE/MAC \*/
* html #content, * html #content2 {
	height:1px;
}
/* end hide */


#content {}

#content2 {
	background-image:url(bg_content.jpg);
	background-repeat:repeat-y;
}

#main {
	float:left;
	width:530px;
	border-right: 1px solid #eaeaea;
	padding-right: 15px;
}

#main-block {}

#main-block2 {
	padding:14px;
}



Danke für Eure Hilfe!

__________________
Gruß
Barthez
23.07.08 18:49 Barthez ist offline E-Mail WWW Finden Als Freund hinzufügen
Shinto Shinto ist männlich
Mitglied


images/avatars/avatar-5231.gif

Dabei seit: 24.09.07
Beiträge: 645

Antworten Zitieren Editieren Melden       UP

Versuchs mal so:

code:
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:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
/*	body
*******************************************************************************/
body {
	background-image:url(bg_body.jpg);
	font-family:verdana, arial, helvetica, sans-serif;
	font-size: xx-small;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: x-small;
        text-align: center;
}

.clearer {
	display:block;
	clear:both;
	line-height:0;
	height:1px;
	font-size:0;
	visibility:hidden;
}

.clear {
	clear:both;
}

.flLeft { float:left; }
.flRight { float:right; }

.warning { color:#f00; }


/*	website
*******************************************************************************/
#website {
	display:block;
	margin:0 auto;
	padding:0;
	height:100%;
	width:900px;
	color:#000;
	text-align:left;
}

/*	header
*******************************************************************************/
#header {
	position:relative;
	margin:0;
	padding:0;
	height:130px;
	background-image:url(bg_header.jpg);
}
/* NEW Column */
#col_right {
	position: relative;
	width: 150px;
	float: right;
	padding-top: 5px;
}


/*	logo / breadcrumb
*******************************************************************************/
#logo {
	position:absolute;
	top:0px;
	left:0px;
}

#logo a {
	display:block;
	height:100px;
	width:900px;
	text-indent:-700em;
}


#breadcrumb {
	position:absolute;
	bottom:9px;
	left:5px;
}

#breadcrumb a,
#breadcrumb a:link {
	color:#000;
}

#breadcrumb a:hover {
	text-decoration:underline;
}
/*	content
*******************************************************************************/


#content, #content2 {
	display:block;
	clear:both;
	position:relative;
	padding:0 0 0 0;
}


/* hide from IE/MAC \*/
* html #content, * html #content2 {
	height:1px;
}
/* end hide */


#content {}

#content2 {
	background-image:url(bg_content.jpg);
	background-repeat:repeat-y;
}

#main {
	float:left;
	width:530px;
	border-right: 1px solid #eaeaea;
	padding-right: 15px;
}

#main-block {}

#main-block2 {
	padding:14px;
}

23.07.08 20:52 Shinto ist offline E-Mail Finden Als Freund hinzufügen
Barthez
Mitglied


Dabei seit: 07.07.04
Beiträge: 304
Forenversion: 3.0

Themenstarter Thema begonnen von Barthez
Antworten Zitieren Editieren Melden       UP

super danke

__________________
Gruß
Barthez
23.07.08 23:33 Barthez ist offline E-Mail WWW Finden Als Freund hinzufügen
Shinto Shinto ist männlich
Mitglied


images/avatars/avatar-5231.gif

Dabei seit: 24.09.07
Beiträge: 645

Antworten Zitieren Editieren Melden       UP

kein problem Augenzwinkern
23.07.08 23:34 Shinto ist offline E-Mail Finden Als Freund hinzufügen
Baumstruktur | Brettstruktur
Gehe zu:

Neues Thema erstellen Antwort erstellen

yourWBB » yourWBB Misc * » Das Proggen » HTML, XHTML, JavaScript & CSS » CSS Frage zu einem CMS (Redaxo)