<div> is a block element. <span> is an inline element.
(Yes, those are technical terms) -Justin -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 1:09 PM To: Struts Users Mailing List Subject: Re: CSS class name in bean:message ??? [EMAIL PROTECTED] wrote: >So what is the difference between <div> and <span>? > > I think <span>s are more "in-line" whereas a "div" is like a layer. Or something. But if you're just wrapping something inside another html chunk a span is probably more appropriate. Bah, presentation-side. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]