It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming CSS Forum

top and bottom padding

top and bottom padding

Postby aneuryzma on Mon Apr 06, 2009 10:57 am

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;
aneuryzma
 
Posts: 40
Joined: Mon Jan 19, 2009 10:10 am

Re: top and bottom padding

Postby rangana on Wed Apr 08, 2009 7:49 am

Please show us the related markups.

Thanks.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines

Re: top and bottom padding

Postby Suffer on Wed Apr 08, 2009 8:11 am

i dont understand question =(
Suffer
100+ Club
 
Posts: 237
Joined: Tue Jan 20, 2009 7:34 am

Re: top and bottom padding

Postby rangana on Wed Apr 08, 2009 8:11 am

Please show your HTML codes.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 0 guests