Hi Bob, I think I solved my style sheet problem something like 2 minutes 
ago.. :) 

So assuming yours is the same problem..

Here's how I declared my stylesheet up top of my layout.jsp:
<link rel="stylesheet" href="<h:outputText value
="#{facesContext.externalContext.requestContextPath}/layout/style.html" />
" />

(I changed my style sheet name from .css to .html because of (I think) new 
access rules with my new Tomcat 5.5.9 and I really can't be bothered 
looking into that now. So you may not have to do that..)

Once I did this, something like this worked:
<h:panelGrid columns="3" columnClasses="header">

with proper "class" stuff in the <tds...

Hope this helps,
Geeta

<[EMAIL PROTECTED]> wrote on 08/25/2005 03:07:27 PM:

> I am having problem with JSF and CSS.
> 
> In my css I have
> 
> #linkMe:link {
>   color: #C9C9C9;
> }
> #linkMe:visited {
>   color: #C9C9C9;
> }
> #linkMe:hover, #linkMe:active { 
>   text-decoration: none; 
>   color: #C9C9C9;
> }
> 
> In my JSP I have:
> 
> <f:verbatim>
>     <h:outputLink styleClass="linkMe" value="#"><h:outputText 
> value="click me"/></h:outputLink><br> 
> </f:verbatim>
> 
> It is not using the css.  Any ideas?  Thanks
> Bob
> 
> 
> 
> ---------------------------------
>  Start your day with Yahoo! - make it your home page 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

> 
> CONFIDENTIALITY NOTICE:This email is intended solely for the person 
> or entity to which it is addressed and may contain confidential 
> and/or protected health information.  Any duplication, 
> dissemination, action taken in reliance upon, or other use of this 
> information by persons or entities other than the intended recipient
> is prohibited and may violate applicable laws.  If this email has 
> been received in error, please notify the sender and delete the 
> information from your system.  The views expressed in this email are
> those of the sender and may not necessarily represent the views of 
> IntelliCare.

Reply via email to