ArdeviaForum

Centering form within Page Viewer

Discussion created by ArdeviaForum on Aug 19, 2016
Latest reply on Aug 19, 2016 by ArdeviaForum

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

Outcomes