Page 1 of 1

Center table / Listing on page

Posted: Wed Nov 15, 2017 6:24 am
by juvat

What is the easiest way to have all listings, tables, views display centered on web browser for ASPNETMaker?


Re: Center table / Listing on page

Posted: Wed Nov 15, 2017 9:46 am
by motfs

Read the following forum topic to try: http://www.hkvforums.com/viewtopic.php?f=4&t=39386


Re: Center table / Listing on page

Posted: Thu Nov 16, 2017 12:11 am
by juvat

Thanks. I added the following to the user_styles:
.ewLayout {
margin: 0px auto;
width: 90%;
}

, but nothing seem to change so I played with it more and ended up with the following:

/BEGIN_USER_STYLES/
.ewLayout {
margin:0 px auto;
width:625px;
}
Everything looks great, except on the Printer Friendly webpage the Master-Detail Master section is centered, and the Detail section is still positioned on the left side of the webpage. When I use the browser-Print the Detail section is centered.


Re: Center table / Listing on page

Posted: Thu Nov 16, 2017 10:31 am
by motfs

Try to view HTML source to find out the element ID for the page and apply the same CSS setting for the appropriate ID.


Re: Center table / Listing on page

Posted: Wed Nov 22, 2017 4:26 am
by juvat

Thanks. Fixed after finding the elements that needed to be tamed.