Custom Content Type For SharePoint List - Form showing extra space at the bottom
-
2012년 8월 10일 금요일 오후 7:44
Hey Everyone,
My question is simple, I have created a custom web page and made it a content type of a SharePoint list. In my designer it looks nice and pretty, but when I view it in the dialog in SharePoint, there is a 100px space at the bottom of my form.
I have used the IE developer tools to try and figure out why, but I have not found anything. The div for my form ends at the proper height, but alot of Microsoft junk is forcing the window to grow bigger.
Any help?
120811049008
모든 응답
-
2012년 8월 16일 목요일 오후 7:22
No one has any clue why this is happening?
After looking at the page with developer tools, the ms-dlgFrame has a height of 584px, while the div in my form is only 475px.
I have tried height:auto, height:475px, not putting a height at all, but for some reason this page is always bigger than it should be.
120811049008
-
2012년 8월 17일 금요일 오후 7:40Does anyone know a javascript call that I can use to set the width and height of the current window??
120811049008
-
2012년 8월 22일 수요일 오후 6:34
To anyone that cares,
All I had to do to get rid of this space is add a width attribute to my containing div. Yup. Added a WIDTH attribute and the height was fixed.
I won't go into all of the nasty details, but just adding a width attribute solved my problem.
120811049008
- 답변으로 표시됨 Paul MC2 2012년 8월 22일 수요일 오후 6:34
-
2012년 10월 19일 금요일 오후 6:18
Thanks Paul!
I spent a very long time frustrated why my dialog box had all this extra white space at the bottom. After adding a fixed width, the additional white space is gone!
So glad I came across this page.
-
2012년 10월 19일 금요일 오후 6:31Wow! I'm surprised someone else actually had this issue. Happy to help!
120811049008

