You are here: Can I ever use a div in a paragraph?? « HTML « IT news, forums, messages
Can I ever use a div in a paragraph??

Posted by Andrew on 01/09/07 00:45

Hi,

I am currently adding captions to images in a large site and made the
mistake of trying to place a <div> element inside a <p> element and
consequently failed validation using XHTML Strict 1.0. A corrected
example is here:

http://www.strong-family.org/foster/chapter_3.html

Are there any circumstances where I can put a <div> inside a <p> or is
this just part of using a Strict Doctype?

BTW are there any Bluefish Editor users here? I have just moved to Linux
(Xubuntu 6.06) and discovered this great editor: helpful but not too
intrusive :-)

Andrew

--
The STRONG Family Web Site
http://www.strong-family.org

 

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

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