|  | Posted by Toby Inkster on 10/10/06 08:43 
Joe wrote:
 > HTML comes in two basic types; Block and Inline.  You can put inline
 > stuff into a block, you can  put a block inside another block; you can
 > put inline stuff into other inline stuff, but you can never, ever, put
 > BLOCK stuff into INLINE stuff.
 
 Sure you can. SPAN is a classic inline element, and DIV is a classic block
 element.
 
 Go validate:
 
 <p>
 This is some text. Let's start an <span>inline
 element.
 <object>
 A bit of trickery with OBJECT.
 <div>This is allowed here!</div>
 </object>
 And don't forget to close our </span>
 The end.
 </p>
 
 --
 Toby A Inkster BSc (Hons) ARCS
 Contact Me  ~ http://tobyinkster.co.uk/contact
  Navigation: [Reply to this message] |