I have received a very weird request from a user today. She wants no space in SharePoint list when they create a new item.

Please see below screenshot for more information:

enter image description here


There is no such thing like "margins" in SharePoint list forms.

It's all HTML & you have to hide the unnecessary HTML elements at the top by identifying their "selectors" & applying custom CSS.


div#divId {
    display: none

Or if there is "margin" or "padding" applied to HTML elements, remove it.


div#contentRow {
    padding-top: 0px !important

Add custom CSS using Content editor or Script editor web part on "NewForm.aspx" page.

  • Hi @Harris, does this answers your question? If yes, please Upvote(^) and accept as an Answer as it helped you & it will help others with similar question in future to find the correct answer easily. It also removes this question from "Unanswered questions" list. – Ganesh Sanap May 14 at 8:53

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.