| You are here: DEVPPL ‹ Forum ‹ Programming ‹ CSS Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
top and bottom padding
4 posts
• Page 1 of 1
0
top and bottom padding
Hi,
I would like to know why the top and bottom padding is not working correctly and in the same way of left and right padding.
If I set 1 px, it increases a lot (around 10px)
If I set 2 px, it is 11px.. and so on.
There is an initial gap. I don't get why...
padding-top:1px;
padding-bottom:1px;
I would like to know why the top and bottom padding is not working correctly and in the same way of left and right padding.
If I set 1 px, it increases a lot (around 10px)
If I set 2 px, it is 11px.. and so on.
There is an initial gap. I don't get why...
padding-top:1px;
padding-bottom:1px;
- Aneuryzma
- Reputation: 0
- Posts: 41
- Joined: Mon Jan 19, 2009 10:10 am
- Highscores: 0
- Arcade winning challenges: 0
- Rangana
- Reputation: 1
- Posts: 935
- Joined: Wed Feb 27, 2008 6:14 am
- Location: Cebu City Philippines
- Highscores: 0
- Arcade winning challenges: 0
- Suffer
- Reputation: 0
- Posts: 235
- Joined: Tue Jan 20, 2009 7:34 am
- Highscores: 0
- Arcade winning challenges: 0
- Rangana
- Reputation: 1
- Posts: 935
- Joined: Wed Feb 27, 2008 6:14 am
- Location: Cebu City Philippines
- Highscores: 0
- Arcade winning challenges: 0
|
|