You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mi...@wellsfargo.com on 2005/04/02 01:16:41 UTC

RE: [ot]CSS class name in bean:message ???

OK, I would like a little more help please as I am not very good at CSS.
But, I have a <td class="style_external"> cell that I do not control the style. THe only issue is I need to add a bit of text that should look like this:

<td><b>Some Heading</b> <i>(note)</i></td>

Now the Heading gets set just fine with the td.style_external, but when I changed the (note) to <span="style_note_internal">(note)</span>, the note is still bolded.
How can I make the style just _not_ bolded essentially overridding the td.style_external bold?



----------
Thanks...
Mick Knutson

Systems Developer
Business Direct Services, Wells Fargo Bank
333 Market Street, SF, CA  94103
(415) 371-2553
Mick.Knutson@wellsfargo.com
MAC A0103-223

"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
----------



-----Original Message-----
From: Slattery, Tim - BLS [mailto:Slattery.Tim@bls.gov]
Sent: Friday, April 01, 2005 10:42 AM
To: 'Struts Users Mailing List'
Subject: RE: CSS class name in bean:message ???


> So what is the difference between <div> and <span>?

Both mark off arbitrary blocks of text. <div> is like <p> in that it implies
a line break before and after the division. <span> does not cause a line
break, so it can be used in the middle of a line.

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
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: [ot]CSS class name in bean:message ???

Posted by EugĂȘnio Saulo <es...@gmail.com>.
If I understood correctly ... try this:

<td><span class="style_external">Some Heading</span><span
class="style_note_internal">(note)</span></td>

Regards

On Apr 1, 2005 8:16 PM, Mick.Knutson@wellsfargo.com
<Mi...@wellsfargo.com> wrote:
> OK, I would like a little more help please as I am not very good at CSS.
> But, I have a <td class="style_external"> cell that I do not control the style. THe only issue is I need to add a bit of text that should look like this:
> 
> <td><b>Some Heading</b> <i>(note)</i></td>
> 
> Now the Heading gets set just fine with the td.style_external, but when I changed the (note) to <span="style_note_internal">(note)</span>, the note is still bolded.
> How can I make the style just _not_ bolded essentially overridding the td.style_external bold?
> 
> ----------
> Thanks...
> Mick Knutson
> 
> Systems Developer
> Business Direct Services, Wells Fargo Bank
> 333 Market Street, SF, CA  94103
> (415) 371-2553
> Mick.Knutson@wellsfargo.com
> MAC A0103-223
> 
> "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
> ----------
> 
> -----Original Message-----
> From: Slattery, Tim - BLS [mailto:Slattery.Tim@bls.gov]
> Sent: Friday, April 01, 2005 10:42 AM
> To: 'Struts Users Mailing List'
> Subject: RE: CSS class name in bean:message ???
> 
> > So what is the difference between <div> and <span>?
> 
> Both mark off arbitrary blocks of text. <div> is like <p> in that it implies
> a line break before and after the division. <span> does not cause a line
> break, so it can be used in the middle of a line.
> 
> --
> Tim Slattery
> Slattery_T@bls.gov
> 
> ---------------------------------------------------------------------
> 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
> 
>

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


Re: [ot]CSS class name in bean:message ???

Posted by Jeff Beal <jb...@gmail.com>.
On Apr 1, 2005 7:16 PM, Mick.Knutson@wellsfargo.com
<Mi...@wellsfargo.com> wrote:
> Now the Heading gets set just fine with the td.style_external, but when I changed the (note) to <span="style_note_internal">(note)</span>, the note is still bolded.
> How can I make the style just _not_ bolded essentially overridding the td.style_external bold?

.style_note_internal { font-weight: normal; }

-- 
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA

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