-
1. Re: rich panel
sergeysmirnov Jan 21, 2008 10:21 PM (in response to hb1234)rich:panel is not a table. So, cellspacing and cellpadding just do not make any sense.
use bodyClass attribute to define the css rules for body of the panel.
By default, it has padding(not margin) = 10px
If you want to remove the padding in all panels on the page, you can just add the following in your css sheet:.rich-panel-body { padding:0 }
-
2. Re: rich panel
hb1234 Jan 22, 2008 1:08 AM (in response to hb1234)Thank you!
I'm not able to find the actual stylesheets that richfaces uses. I think it would real helpful to see them and figure out how the elements are getting styled.
I did look at the documentation (chapter 6) and that's helpful, but is there anyway, I can get my hands on the actual stylesheets?
Thanks -
3. Re: rich panel
david.spark Jan 22, 2008 5:29 AM (in response to hb1234)I find the easiest way to do this is using the Page Info function in Firefox from which you can see the URL of the Stylesheets used (on the Links tab). Then you can just paste the URLs into a new browser window to see them.
Another neat tool (for Firefox) is Firebug which allows you to 'inspect' pages which means that hovering over an actual element in the page highlights the associated box and shows you what CSS is being applied to it. Quite useful for working out why the style you think you applied isn't rendered :-) -
4. Re: rich panel
hb1234 Jan 22, 2008 2:50 PM (in response to hb1234)Thanks very much! I'll try it.