Reply to Re: Question about DIV instead of Table

Your name:

Reply:


Posted by Hilarion on 10/13/05 17:20

> I started trying to use tables to structure the page above (each box a
> separate image), but as the content is graphical and gaps between
> images are not acceptable, using tables (even with border="0"
> cellpadding="0" cellspacing="0") seem to leave white space between
> elements (even more worrying is the fact that IE and Firefox seem to do
> different things).


The cause of whitespace is a whitespace. What I mean is that you can not
enter any whitespace characters between opening tag of table cell and
image tag and also no whitespace characters between the image tag and
the table cell closing tag. You also have to make sure that you do not
specify margins or padding for your image tags or padding for table
cells (including inherited from rows and table).

I'm not encouraging you to use tables for layout purposes, but I do not
know now how to do it with DIV tags but I know (I think) what's causing
your gaps when using tables.


Hilarion

[Back to original 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

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