|
|
#19 (permalink) |
|
Searcher
Surpass Staff
Joined in May 2003
Lives in Orlando
24,699 posts
Gave thanks: 943
Thanked 806 times
|
"The gap problem" - Ha!!
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog .... it's coming. |
|
|
|
|
|
#20 (permalink) |
|
Surpass Fan
Seasoned Poster
Joined in Feb 2007
Lives in Maine
Hosted on SH110
40 posts
Gave thanks: 3
Thanked 3 times
|
Technically, you should use as little markup as possible. Going Div crazy is not efficient. Before creating a new div/id/class for something, try thinking of another HTML tag that you could use instead (e.g. H1-H6, UL, Code, Etc.). In this case, you could easily create an unordered list and have each list item have an image/link like that table does.
|
|
|
|
| This user thanks Mykal for this great post! | H (February 6th, 2007) |
|
|
#21 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Mar 2005
Lives in East Yorkshire, UK
Hosted on Maya
2 posts
Gave thanks: 0
Thanked 0 times
|
Images, Tables, and Mysterious Gaps
Quote:
![]()
__________________
Rob Marshall rdmsoft maya [oc5]
|
|
|
|
|
|
|
#22 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jul 2006
Lives in USA
Hosted on SH133
56 posts
Gave thanks: 11
Thanked 1 Time in 1 Post
|
Well, I ran across this and started goofing off with making an unordered image list and trying to reproduce the problem so it is easier to avoid later. The simple answer is there is always either margin or padding around a block element. For instance, the "display: block;" which results in a larger, more visible break between images. The easiest way is to give a fixed width to the whole element, in my case an unordered list, and then mark the display as inline.
I was already aware of this border quirk to an HTML document -- not sure if it is dependent upon HTML 4.0.1, XHTML Trans, or XHTML Strict -- but I wanted to track it down a little more accurately. Here's my "sandbox" for you all to mess around with as you please. Nor do I care if anyone rips it off, considering it took less than twenty minutes total (mainly due to relocating my resources after a system overhaul). |
|
|
|