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???

3
  • 1
    Can you switch of the development mode ?Also whats the visualforce version of your page ? Commented Sep 9, 2013 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 Commented Sep 9, 2013 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
    Commented Sep 13, 2013 at 11:57

2 Answers 2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .