You are here: Re: How to get rid of a 'gap' between 2 images on top of each other « HTML « IT news, forums, messages
Re: How to get rid of a 'gap' between 2 images on top of each other

Posted by Jukka K. Korpela on 12/04/05 10:59

"Jack" <someone@somewhere.com> wrote:

> I have a table (<table>) with two table rows (<tr>), each row has a
> single column (<td>).

You have a URL? Should we try to guess it from the disinformation you give on
the From line?

The odds are that you shouldn't be using a table, since you have no tabular
data. Symptoms of this: a table with very few cells, no <th> element, no
imaginable <col> or <thead> or <caption> element.

> Each column has a single image (<img src="img1.png"
> /> <img src="img2.png" />

That's invalid markup to begin with. Besides, that's two images with a space
between them.

> but there is a gap between each of the images.

There are at least 42 possible explanations. You can find them all in the
freely available HTML and CSS specifications, tutorials, FAQs, and
discussions on the net.

> How do i force

You don't.

> it with NO gap?

No, you don't force that either.

> I've tried many things using valign, border, etc.

Apparently you didn't get desperate enough to read the manuals, though.
Trying one thing after another without any idea of what you are doing
is a way of digging deeper, not getting out of the hole.

> Can anyone suggest what I'm doing wrong?

Pretty much everything.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация