6

So I have another issue VF issue that seems to be new since the Winter 14 release. I have very simple quick add VF pages that can be accessed from a home page link component. These have always worked and since the Winter 14 preview release I get the following odd behavior.

The page is wider than the specified pixel width I set in the window open properties of the VF page link. Before the release, the page would adjust to the set width and properly display both columns of input fields. This is the behavior I am getting now

When I first open the page

enter image description here

And now if I try to scroll over to see the rest of the page

enter image description here

I have tried in Chrome, Firefox and Safari so I dont think its a browser issue. I am getting no errors in the browser console either. Has anyone seen this yet and how do I fix???

  • 1
    Can you switch of the development mode ?Also whats the visualforce version of your page ? – Mohith Shrivastava Sep 9 '13 at 4:34
  • Its version 27. I reverted back to 27 because of the managed package error. I took it off development mode and it made no difference – Chris Duncombe Sep 9 '13 at 17:55
  • I have the same issue. In winter 14, pageBlockSection is rendered in html to give following table structure <table> <tr> <th><td><th><td> </tr> <tr> <th><td><th><td> </tr> </table> While in earlier versions it was rendered in html like this- <table> <tr> <td><td><td><td> </tr> <tr> <td><td><td><td> </tr> </table> Now because of this <th> instead of <td>, this issue is arising. No css is working. We can't control the – user3821 Sep 13 '13 at 11:57
4

This looks like a CSS issue with it setting itself to the width of the window not the width of the content.

You could probably fix it with some CSS overrides, but I'd raise a case with Salesforce for them to fix it and see if it gets cleaned up in the next few weeks.

1

You need to override this:

.apexp .bPageBlock .detailList {
    width: 100%;
}

With either an exact width, or you'll need to capture the relative width of the window and feed that to a class.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.