You need to sign in to do that
Don't have an account?
Jim Boudreaux
PageBlock renders with old Style Look and Feel
When I use pageblocks and pageblocksections and outputfields, etc, I do not get the new Salesforce Look and Feel that I get when I view a standard SF page or when I use <apex:detail/>.
Why is that? Is there a way around that?
Set your pageblock mode attribute to "maindetail" and you'll pick up the new theme, otherwise it defaults to "detail" which is the old one.
All Answers
Can you provide sample code? Also, what browser are you using?
The above code will render a standard looking SF record page, followed by a small older looking section.
I encounter this regardless of the browser, but if you must know, I use Safari and Chrome on a Mac, an I've seen the same effect on chrome, IE, and FF on a PC.
I cannot speak to how Opera handles it. (PC or on a Wii)
Set your pageblock mode attribute to "maindetail" and you'll pick up the new theme, otherwise it defaults to "detail" which is the old one.
Excelsior! Thanks Bob!