Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (57-Vette, Chosen), 43 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#231893 - 12/08/09 08:23 PM Get rid of the top most border size
aalhait Offline
stranger
Registered: 08/09/06
Posts: 8
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?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#231896 - 12/08/09 10:16 PM Re: Get rid of the top most border size [Re: aalhait]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
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;



Edited by Gizmo (12/10/09 07:35 AM)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#231950 - 12/09/09 05:46 PM Re: Get rid of the top most border size [Re: Gizmo]
aalhait Offline
stranger
Registered: 08/09/06
Posts: 8
That did not work.... I've added it and still no go:



Look at the attachment...
Thanks


Attachments
sqaffeedback1.gif (27 downloads)

Top
#231960 - 12/10/09 01:11 AM Re: Get rid of the top most border size [Re: aalhait]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
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
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#231963 - 12/10/09 07:37 AM Re: Get rid of the top most border size [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
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)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image