This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes css Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "css" Watch "css" New topic
Author

css

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

CSS not working well with me. I am trying to give styles in tabbed pane. But that doesn't seem to work. Here is the code :
css :


jsp :



Could you please tell me your thoughts on it ?

Thanks,
Joe
A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
Check if this helps:
http://www.nabble.com/Dynamically-adding-tabs-to-t:panelTabbedPane-t1785535.html

Also check this out:
http://wiki.apache.org/myfaces/SettingTabClasses
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125


Thanks for that. But this doesn't happen any changes to the tab. I don't unserstand why the CSS cannt apply to the jsf. But the strange thing is , I am calling a css from another application and that does effect on the buttons and tables (not the tab ).

Here again is the code I used :

jsp/jsf :



css :



Is this the correct way of use of CSS like path, name etc.. ? I am confused. I can get the styles on tab back grounds, but cannot change the color of the tab headers. Please help me with your thoughts.

Thanks,
Joe.
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

I got it solved. css URL should be absolute.

I had given like instead of



Thanks eveyone who give it a try.

Joe.
 
 
subject: css
 
Similar Threads
problem as menu show behind of flash~ pls help
tabbed pane
javax.xml.rpc.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException:
JSF - Missing source code using templating and composition
selectManyCheckbox