Center table / Listing on page

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Center table / Listing on page

Postby juvat » Wed Nov 15, 2017 6:24 am

What is the easiest way to have all listings, tables, views display centered on web browser for ASPNETMaker?
juvat
 
Posts: 68
Joined: Thu Jul 03, 2014 6:09 am

Re: Center table / Listing on page

Postby motfs » Wed Nov 15, 2017 9:46 am

Read the following forum topic to try: viewtopic.php?f=4&t=39386
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Re: Center table / Listing on page

Postby juvat » Thu Nov 16, 2017 12:11 am

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.
juvat
 
Posts: 68
Joined: Thu Jul 03, 2014 6:09 am

Re: Center table / Listing on page

Postby motfs » Thu Nov 16, 2017 10:31 am

Try to view HTML source to find out the element ID for the page and apply the same CSS setting for the appropriate ID.
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Re: Center table / Listing on page

Postby juvat » Wed Nov 22, 2017 4:26 am

Thanks. Fixed after finding the elements that needed to be tamed.
juvat
 
Posts: 68
Joined: Thu Jul 03, 2014 6:09 am


Return to General Discussion (ASP.NET Maker)