Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> valign tekstu
deniol13
post
Post #1





Grupa: Zarejestrowani
Postów: 190
Pomógł: 2
Dołączył: 30.11.2009

Ostrzeżenie: (10%)
X----


jak to co zaznaczylem na screenie czerwoną obwódką było w centrum tego diva? (middle), vertical-align: middle nie pomaga


screen
http://www.iv.pl/images/53983630173585620015.jpg

Kod tego diva
Cytat
<div id="pan">test</div>

CSS
Cytat
div#pan
{
-webkit-border-bottom-radius-bottomright: 20px; /* Safari, Chrome */
-khtml-border-bottom-radius-bottomright: 20px; /* Konqueror */
-moz-border-radius-bottomright: 20px; /* Firefox */
border-bottom-right-radius: 20px;
-webkit-border-bottom-radius-bottomleft: 20px; /* Safari, Chrome */
-khtml-border-bottom-radius-bottomleft: 20px; /* Konqueror */
-moz-border-radius-bottomleft: 20px; /* Firefox */
border-bottom-left-radius: 20px;
background-color: #005a9a;
margin-right: 15px;
width: 280px;
height: 70px;
text-align: center;
vertical-align: middle;
color: white;
margin-top: 10px;
}
Go to the top of the page
+Quote Post

Posty w temacie
- deniol13   valign tekstu   21.07.2010, 21:46:14
- - wookieb   http://phrogz.net/css/vertical-align/index.html   22.07.2010, 07:17:00


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 11:37