This content has been marked as final.
Show 3 replies
-
1. Re: ModalPanel - Header and Close box don't line up
nbhatia Feb 15, 2009 5:25 PM (in response to nbhatia)I found out that the problem was because of a style defined in my stylesheet:
table { margin: 1em 0 1em 0; ... }
Since the modalPanel header was sitting in a table, it got pushed down by 1em!
This makes me wonder if there are any guidelines to follow when mixing richfaces styles with my own. Should I avoid setting styles for raw HTML elements?
Thanks.
Naresh -
2. Re: ModalPanel - Header and Close box don't line up
nbelaevski Feb 16, 2009 1:20 PM (in response to nbhatia)Hello Naresh,
As you see RichFaces styling doesn't redefine all CSS propeties, so you should be careful when defining element-wide styles. It is safer to use class-based selectors. -
3. Re: ModalPanel - Header and Close box don't line up
nbhatia Feb 16, 2009 3:21 PM (in response to nbhatia)Thanks for the guidance. I will take precautions in the future.