Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
haha, what am i doing wrong? how do i get these images touching?
Old 02-18-2006, 01:20 PM haha, what am i doing wrong? how do i get these images touching?
Novice Talker

Posts: 6
Trades: 0
i feel like such a silly billy

how do i get rid of the white space?

(the two blocks are different images)


in a table or anywhere else


thanks LOL
sucitreB is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-18-2006, 01:35 PM Re: haha, what am i doing wrong? how do i get these images touching?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
There could be a lot of different reasons why you have that extra space. If you could post a link or some code it would be easier to see what the problem is.

I'll take a quick guess though. Since you mentioned these being in a table it's probably because yoy have cellspacing="# other than 0 " on your table tag. Setting the cellspacing to 0 should get the table to close up around the white space. (assuming the cellspacing is the problem)

Ultimately though I'd really need to see the code to know where the whitespace is coming from.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-18-2006, 06:20 PM Re: haha, what am i doing wrong? how do i get these images touching?
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
The problem could be something as simple as whitespace in your HTML.

It is true that browsers ignore repeating whitespace (tabs, multiple spaces etc), but a single space will still render in most situations. If you are separating the images by newlines or spaces to make your HTML more readable, this will cause a gap. The fix is to remove any whitespace between the image tags.

HTML Code:
<div>
    <img src="img1.png" />
    <img src="img2.png" />
</div>

<!-- To something like: -->


<div>
    <img src="img1.png" /><img src="img2.png" />
</div>
It might make your HTML look ugly, but it fixes the space
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 02-26-2006, 02:08 AM Re: haha, what am i doing wrong? how do i get these images touching?
Novice Talker

Posts: 6
Trades: 0
Quote:
Originally Posted by Chroder
The problem could be something as simple as whitespace in your HTML.

It is true that browsers ignore repeating whitespace (tabs, multiple spaces etc), but a single space will still render in most situations. If you are separating the images by newlines or spaces to make your HTML more readable, this will cause a gap. The fix is to remove any whitespace between the image tags.

HTML Code:
<div>
    <img src="img1.png" />
    <img src="img2.png" />
</div>

<!-- To something like: -->


<div>
    <img src="img1.png" /><img src="img2.png" />
</div>
It might make your HTML look ugly, but it fixes the space
this worked, thanks!
sucitreB is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to haha, what am i doing wrong? how do i get these images touching?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13519 seconds with 12 queries