You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Deep Chand <dg...@gmail.com> on 2006/01/24 23:56:35 UTC

doubt regarding span tag?

Hi,

I'm trying to follow the struts tutorial at
http://www.learntechnology.net/struts-lesson-2.do. In the jsps, I see
the following snippet:
<html:messages id="message" message="true">
    <span class="success"><c:out value="${message}"/></span>
</html:messages>

what is this "span" tag and how it is used? please help.

thanks,
deep

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: doubt regarding span tag?

Posted by Deep Chand <dg...@gmail.com>.
Got it. Thanks. I assumed it was struts/jstl tag!!.

On 1/24/06, Michael Jouravlev <jm...@gmail.com> wrote:
> Have you tried to ask Google/MSN Search/Yahoo/Altavista first? Don't
> be aftraid, you are not searching for porn after all.
>
> Michael.
>
> On 1/24/06, Deep Chand <dg...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to follow the struts tutorial at
> > http://www.learntechnology.net/struts-lesson-2.do. In the jsps, I see
> > the following snippet:
> > <html:messages id="message" message="true">
> >     <span class="success"><c:out value="${message}"/></span>
> > </html:messages>
> >
> > what is this "span" tag and how it is used? please help.
> >
> > thanks,
> > deep
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: doubt regarding span tag?

Posted by Michael Jouravlev <jm...@gmail.com>.
Have you tried to ask Google/MSN Search/Yahoo/Altavista first? Don't
be aftraid, you are not searching for porn after all.

Michael.

On 1/24/06, Deep Chand <dg...@gmail.com> wrote:
> Hi,
>
> I'm trying to follow the struts tutorial at
> http://www.learntechnology.net/struts-lesson-2.do. In the jsps, I see
> the following snippet:
> <html:messages id="message" message="true">
>     <span class="success"><c:out value="${message}"/></span>
> </html:messages>
>
> what is this "span" tag and how it is used? please help.
>
> thanks,
> deep

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: doubt regarding span tag?

Posted by Paul Benedict <pa...@yahoo.com>.
Quick summary:

<span> is for inline content. 
The CSS behind it is: display: inline;

<div> is for block content.
The CSS behind it is: display: block;

Paul

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: doubt regarding span tag?

Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Here's an excellent description:

http://webdesign.about.com/cs/htmltags/a/aa011000a.htm

For all intents and purposes you can think of <span> just like <div>, 
except that <div> is accompanied by some line breaking... hehe, 
interestingly, for the longest time all I used was <span>, now all I use 
is <div>, but re-reading that page makes me want to go back to <span> :)

Frank

Deep Chand wrote:
> Hi,
> 
> I'm trying to follow the struts tutorial at
> http://www.learntechnology.net/struts-lesson-2.do. In the jsps, I see
> the following snippet:
> <html:messages id="message" message="true">
>     <span class="success"><c:out value="${message}"/></span>
> </html:messages>
> 
> what is this "span" tag and how it is used? please help.
> 
> thanks,
> deep
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org