Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

css

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 114
 
Joe Jose
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by A. Dusi:
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



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
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got it solved. css URL should be absolute.

I had given like instead of



Thanks eveyone who give it a try.

Joe.
 
I do some of my very best work in water. Like this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!