You are here: Re: Line up DIVs horizontally « HTML « IT news, forums, messages
Re: Line up DIVs horizontally

Posted by Neredbojias on 09/16/05 08:06

With neither quill nor qualm, anf4u360@yahoo.com quothed:

> I want them to line up like they do with TD.

I want them to line up like they do in the Army, but most women refuse.

> I've got them all using this. Is this the correct way to do it?

??? Using what?

> Also, I'm getting a double border where they meet up. I thought
> collapse was supposed to prevent that.
>
> .testdiv {
> position: static;
> width: 1em;
> float: left;
> border: 1px solid black;
> border-collapse: collapse;
> }

Oh, I see: it's a css question. Thought you were bonkers there for a
moment, mate.

Anyway, you are probably referring to collapsing margins not borders and
the margins of floated boxes do not collapse. "Border-collapse" is for
tables.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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