Thread CSS: vertical-align:middle (17 answers)
Opened by esskar at 2005-03-07 22:52

esskar
 2005-03-07 22:52
#24339 #24339
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
Code: (dl )
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
html,body {
margin: 0;
padding: 0;
background-color: #FFFFFF;
font-size: 8pt;
font-family: Tahoma;
color: �
}

.center {
text-align: center;
}

#pageheader {
width: 806px;
}

#pagemenu {
border: 5px;
background-color: #75A920;
font-size: 8pt;
font-family: Tahoma;
color: #FFFFFF;
font-weight: bold;
width: 806px;
height: 45px;
text-align: left;
vertical-align: middle;
}


Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
<body class="center">
<div id="pageheader">
<img src="/perl/gif.pl?rgb=75A920" border="0" width="806" height="15" /><br />
<img src="/perl/gif.pl?rgb=FFFFFF" border="0" width="806" height="2" /><br />
<img src="/images/header.jpg" border="0" width="806" height="113" />
<img src="/perl/gif.pl?rgb=FFFFFF" border="0" width="806" height="2" /><br />
</div>
<div id="pagemenu">
Home | Aktuelles
</div>
</body>


wieso rutscht "Home | Aktuelles" nicht in die verticale Mitte des Div's ?

View full thread CSS: vertical-align:middle