Log In · Register

 
padding
JCLore
post Nov 3 2007, 04:55 AM
Post #1


Senior Member
*****

Group: Official Member
Posts: 682
Joined: Oct 2007
Member No: 580,818



in a code such as this...

CODE
table, tr, td {background-color: transparent; border: 2px; padding:2;}


...what does the padding mean??
 
 
Start new topic
Replies
newkidontheblock
post Nov 3 2007, 08:28 AM
Post #2


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



The
CODE
padding: 2;
Is Just A Inset To The Div So That The Words Or Image Wouldn't Touch The End...

The
CODE
line-height:12px;
Is Just For The Height Of The Line If You Make Your Letters Small And Want The Lines Really Close The You Make The Line Height Smaller...And Opposite For Larger...
 

Posts in this topic
johncouzenslore   padding   Nov 3 2007, 04:55 AM
johncouzenslore   oh and in this.... CODEfont-weight:none; bord...   Nov 3 2007, 05:20 AM
Fawaz   The CODEpadding: 2; Is Just A Inset To The Div...   Nov 3 2007, 08:28 AM
johncouzenslore   AAaahhhh!! ok thanx   Nov 3 2007, 08:37 AM
Fawaz   no prob   Nov 3 2007, 08:54 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: