SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Apr 2, 2003, 10:20 #1
- Join Date
- Mar 2003
- Location
- Sweden
- Posts
- 370
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Making text be in the middle of the div?
Hi,
I have a div that is 21px high and i want my text to be shown in the middle. (not in the center of the width but the middle of the height)
i tried this: vertical-align: middle;
but it doesn't seem to work =/
What should i do?
Martin Lundberg
Sweden
-
Apr 2, 2003, 11:33 #2Code:
padding-top: 5px; padding-bottom: 5px; font-size: 11px;
-
Apr 2, 2003, 13:13 #3
- Join Date
- Mar 2003
- Location
- Sweden
- Posts
- 370
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
okey, thanks! =) Worked!
Martin Lundberg
Sweden
Bookmarks