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

Posted by Toby Inkster on 01/09/07 09:17

Andrew wrote:

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

Yes:

<p><object><div>Foo</div></object></p>

Also, APPLET and NOSCRIPT will work instead of OBJECT. Possibly IFRAME as
well -- I'm too lazy to check. None of them will help you though. Really
you need to replace your DIV element with an inline element such as SPAN.

Nothing to do with the Strict doctype -- the same is the case in
Transitional.

> 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 :-)

If you like Bluefish, take a look at Screem. I prefer Nedit and SciTE
though.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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