Joined: Aug 2006
Posts: 7
stranger
stranger
Joined: Aug 2006
Posts: 7
How do I get get rid of the top most border for the top most table. The site shows about a 5 pixel spacing from the top. I want it suck to the browser. Where is that setting?
Joined: Jun 2006
Posts: 16,292
Likes: 116
Joined: Jun 2006
Posts: 16,292
Likes: 116
Well, you could edit the "body" class in the style and set it as:
margin: 0px;
padding: 0px; And it would completely eliminate any top, left, right, and bottom borders.
To remove just the top border you could just put:
margin-top: 0px;
padding-top: 0px;
Last edited by Gizmo; 12/10/2009 8:35 AM .
Joined: Aug 2006
Posts: 7
stranger
stranger
Joined: Aug 2006
Posts: 7
That did not work.... I've added it and still no go: Look at the attachment... Thanks
Attachments
Joined: Apr 2007
Posts: 3,940
Likes: 1
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Well, you could edit the "body" class in the style and set it as:
margin; 0px;
padding: 0px; well.. you wouldn't do "margin-top
; 0px; because that is incorrect css syntax and wouldn't work..
margin-top: 0px; at least is syntactically correct..
as a general rule, i set the body margins and padding to all 0;
margin:0;
padding:0;
is the most concise ... px isn't needed for a 0 value
Joined: Jun 2006
Posts: 16,292
Likes: 116
Joined: Jun 2006
Posts: 16,292
Likes: 116
Good catch on the ; vs : (busy couple of weeks in my life, wasn't really paying too close attention when typing :P)... And as a general rule of thumb, I tend to put "px" at the end of any value, regardless of if it's a 0 value or not (better safe than sorry; especially when others who may edit code don't know that it'd have to have "px" appended to the end for a non-zero value)
2 members (Gizmo , Nightcrawler ),
553
guests, and
186
robots.
Key:
Admin ,
Global Mod ,
Mod