No, it means you are not using a style sheet?

CSS are on the client-side not the server. Your JSP is on the server side.
This means what ever your JSP returns to the client will have the style
sheet applied to it.

http://www.w3c.org has the official syntax for CSS.

You do not need to specify your styles more then once, instead just specify
them with the correct syntax:

b { color:red; }

or

<b style="color:red;">.....</b>

Be careful with Netscape 6. It is case sensitive so 'B' and 'b' are two
different style classes now.

Jayson Falkner
[EMAIL PROTECTED]


----- Original Message -----
From: "Nivedita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 18, 2000 11:03 PM
Subject: Applying style sheets to JSP


> I tested and found that JSp did not support on applying the styles.
> for example:
> b
> {
>         color="red"
> }
>
> <b style="color=#ff0000"> UserName : </b> <jsp:getProperty name="stat"
> property="userName" />
>
> So does that mean jsp does not recognise style sheets or we have a work
> around for it.
>
> If anyone can help I would be very thank ful.
>
> Thanks,
> Nivedita
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to