You are here: Re: <DIV> « HTML « IT news, forums, messages
Re: <DIV>

Posted by Ciaran on 05/22/07 15:44

On May 22, 12:16 am, Brian Robertson <brianrobertson@[nospam].com>
wrote:
> Can anyone explain to me what the <DIV> tag does? Keep it simple, folks.
> I have read several explanations in books and they have all gone right
> over my head.
>
> Brian.

Brian, div and span tags are basically containers to put content into.
You can attach styles to these tags which will effect everything
inside the tags. The main difference between div and span tags is that
by default, div tags display in a block whereas span tags display
inline with whatever else is around them. ie When you put something
into a div, it's automatically displayed on a line on its own. When
you put something into a span, it does not effect the layout until you
begin to add styles.

Hope that helps,
Ciarán

 

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

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