[Standards-JIG] Re: XHTML further simplification

Peter Saint-Andre stpeter at jabber.org
Mon Sep 27 21:42:30 UTC 2004


In article <41535BEA.60901 at apnic.net>, Byron Ellacott <bje at apnic.net> 
wrote:

> Do you or do you not consider it important for XHTML-IM messages to 
> include the ability to mark up a section, or block, as it were, of a 
> message as having a particular style, whether that style is 
> "padding-left: 5%" or "color: blue; font-style: italic" ?

I see such blocks in the IM messages I receive, so they seem useful.

> If the answer to that is "yes," you will find it easier overall to allow 
> nested blocks, since that will avoid problems trying to apply a 
> particular style to a number of elements and discovering that they don't 
> always work out exactly how you'd expected.
> 
> If the answer is "no," you can get rid of the <div/> element because you 
> don't need to divide your messages up into discreet blocks.

I think it's simpler to use <div/> for such blocks, so I'd favor 
including <div/> in our profile.

> (You may also consider asking yourself if an XHTML-IM needs lists, too, 
> since lists are the only element in the XHTML-IM recommended set that 
> have default properties for {margin,padding}-left, but I apologise in 
> advance for any cans of worms I may have just opened.)

Again, I see people use them in their IM messages, so they seem useful.

/psa




More information about the Standards mailing list