Centering form within Page Viewer
Original Post by Cee (Imported from Ardevia Forum)
I'm trying to center the content within a page viewer (ard form)and just can't do it. If I go to the actual list form, it centers, but not on the page viewer. All I'm doing is adding a script editor (or content editor too) and adding css there as I normally would.
Code:
#onetIDListForm {
width:100% !important;
display:table !important
}
#contactMLM.ard-formwebpart {
margin: 0 auto !important;
display:table !important;
}
}
Like I said, if I embed that on the listview it works great but not when viewed through a page viewer. Note, "contactMLM" is an ID added to the ard
0
-
Original Post by iryna (Imported from Ardevia Forum)
We are not able to reproduce. The form with the following script is centered fine in all browsers.
Code:
<style> #onetIDListForm { width:100% !important; display:table !important } div.ard-formwebpart { margin: 0 auto !important; display:table !important; } </style>0
Please sign in to leave a comment.
Comments
1 comment