JohnM Posted April 8, 2022 Report Share Posted April 8, 2022 What is the CSS selector for an authetication page? (I want to horizontally center the username and password fields.) Quote Link to comment Share on other sites More sharing options...
0 CoopperBackpack Posted April 8, 2022 Report Share Posted April 8, 2022 Hello @JohnM, Please test the code from this Forum post https://forums.caspio.com/topic/8977-how-to-center-the-details-datapage/ Go to the Authentication -> click the Plus sign to add the Header/Footer elements -> disable the HTML editor on the Advanced tab -> paste this code <style> #caspioform > div { margin: 0 auto; } </style> Check if it works as expected. JohnM 1 Quote Link to comment Share on other sites More sharing options...
0 JohnM Posted April 8, 2022 Author Report Share Posted April 8, 2022 I see. Put the CSS not in the stylesheets, but in the header or footer specific to a page. Got it. Thanks. Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted April 8, 2022 Report Share Posted April 8, 2022 Hi @JohnM - you may check this post to reference Form Elements in Caspio: Quote Link to comment Share on other sites More sharing options...
Question
JohnM
What is the CSS selector for an authetication page?
(I want to horizontally center the username and password fields.)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.