Mail Archive Home | enhydra List | June 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
V Út, 08. 06. 2004 v 09:52, Gilles Serasset píše: > Well, if you choose to "embed" the article as an HTML tree (keeping > some formating), you should rather use a <div id="..."> tag, as the > span tag may only contain raw text according to the HTML specs. Really? "The DIV and SPAN elements, in conjunction with the id and class attributes, offer a generic mechanism for adding structure to documents. These elements define content to be inline (SPAN) or block-level (DIV) but impose no other presentational idioms on the content." http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.4 I also used to think that SPAN is for plain text only - this is probably because XMLC generates the setText method for it. But it's generic and can be used for including anything, even a whole DOC or XLS document (once the document is converted to HTML :-) Petr
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.