icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » Anyone know why this table has spacing

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old January 31st, 2007, 11:50 PM   #10 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,509 posts
Gave thanks: 936
Thanked 787 times
And makes for unhappiness! At least these donuts are by my side.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 31st, 2007, 11:52 PM   #11 (permalink)
﴾͡๏̯͡๏﴿...tweet
Super #1
 
Joined in Dec 2005
5,754 posts
Gave thanks: 145
Thanked 151 times
... how many donuts did you get?
__________________
poof
Brandonnn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 1st, 2007, 12:00 AM   #12 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
8,032 posts
Gave thanks: 48
Thanked 129 times
Donuts FTW! Though I usually buy Timbits instead.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 8:18 PM   #13 (permalink)
Surpass Fan
Seasoned Poster
 
Mykal's Avatar
 
Joined in Feb 2007
Lives in Maine
Hosted on SH110
40 posts
Gave thanks: 3
Thanked 3 times
Quote:
Originally Posted by H View Post
Donuts FTW! Though I usually buy Timbits instead.
Timbits? Heh, is that what they call them? I always called them Tim Holes. Whoops.
Mykal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 8:27 PM   #14 (permalink)
Surpass Fan
Seasoned Poster
 
Mykal's Avatar
 
Joined in Feb 2007
Lives in Maine
Hosted on SH110
40 posts
Gave thanks: 3
Thanked 3 times
Kayla, I recommend using an unordered list for those links. Tables are for tabular data, even if it is just for testing. In other words, I agree with Mr. H.
Mykal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 8:33 PM   #15 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,509 posts
Gave thanks: 936
Thanked 787 times
I'm glad you brought this thread back up - I need to get to work on that, seriously.

__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 10:27 PM   #16 (permalink)
Registered User
Comfy Contributor
 
meephead's Avatar
 
Joined in Aug 2006
Hosted on SH103
100 posts
Gave thanks: 2
Thanked 4 times
Hmm, I don't know, I'm going to take a stab in the dark and hope no one's face is there.

I used to have a similar problem but it was on IE, and I thought it was an IE specific issue. I went about it by specifying a really small font size, 1px or so, in the elements that were getting unnecessary padding. Even though there was no text in the div/table cell, something was stretching them, and it was fixed by simply doing that.

OK, I decided to test it, in the <table> with the dedimain images I put in a "style="font-size: 0px;" ", it decreased the gap to 1px high which is smaller than it was before, but no, it didn't completely eliminate it. What I'm saying is that it did do something so try playing with that.

Personally I'd simply try to avoid using tables, go with a div and display the images in a block, or something along those lines.

EDIT: Ok, I tried the div with "display: block;" thing... still doesn't remove the gap completely.. scratching my head right now...
__________________
[SH103]
http://nemesia.org/

Last edited by meephead; February 5th, 2007 at 10:35 PM.
meephead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 10:43 PM   #17 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,509 posts
Gave thanks: 936
Thanked 787 times
Yes.. I wanted to actually figure it out though - because even if it's dirty and wrong, there should still be a way to make it work.

Thanks for trying!

I guess we can put this issue away into the depths of the unknown.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5th, 2007, 11:19 PM   #18 (permalink)
Registered User
Comfy Contributor
 
meephead's Avatar
 
Joined in Aug 2006
Hosted on SH103
100 posts
Gave thanks: 2
Thanked 4 times
I just googled, only found cheats like setting negative margins to get rid of that gap. And if it came to that I'd rather make the text into gifs with transparencies and have the background be a single image without the text. A small gap like that shouldn't cause any visual problems in that case.

Apparently it's frustrating a lot of people:
Quote:
I call this the gap problem and if you are Eric Meyer and you are reading this, maybe you could drop me a line and tell me how to avoid it (never mind that the rest of the tutorial may be too complicated anyway...). No matter what you do, set every margin and padding to 0, the gap will not disappear. You can of course make the font smaller but not until 5pt will you get a smaller gap between items. I also tried 1pt and there was still a gap between some items. Not all, which makes you wonder once again...
from: http://www.alexandersperl.de/tutorials/css/sitemap.html
__________________
[SH103]
http://nemesia.org/
meephead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On