Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 7
A
stranger
stranger
A Offline
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
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Well, you could edit the "body" class in the style and set it as:
Code
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:
Code
margin-top: 0px;
padding-top: 0px;

Last edited by Gizmo; 12/10/2009 8:35 AM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 7
A
stranger
stranger
A Offline
Joined: Aug 2006
Posts: 7
That did not work.... I've added it and still no go:



Look at the attachment...
Thanks
Attachments
sqaffeedback1.gif

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by Gizmo
Well, you could edit the "body" class in the style and set it as:
Code
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 wink

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
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)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)