You need to sign in to do that
Don't have an account?

Styling PageBlock like a Related List
Hi everyone,
I've been looking everywhere for an answer to this and I can't seem to find it. I would appreciate and help anyone could give me. I have a pageBlockTable on my page that displays a list of records to related to Opportunities. I want this to look as similar to a standard related list as possible. Someone else had a similar problem here. I want the table to look like this:
But currently it looks like this:
As you can see, there are a few problems. There is a border underneath the title and buttons, the button is larger than it should be, and the "No records" message doesn't display with a full border around it. In my case, there is also more space between the edge of the pageBlockTable and the pageBlock than there should be.
Can anyone point me in the right direction?
Jake McCloskey
jakem,
I will be able to tell you the approach to do so. Please install firebug in firefox and look at a standard page. You should be able to see exactly what css or properties they are using. You will then be able to format your VF page in the same way.