IMTanuki Posted March 16, 2018 Report Share Posted March 16, 2018 I have a custom HTML Block to define a report column and format. Most of the CSS format options seem to work (font-size, etc). text-align does not work. I've tried: text-align: center; text-align: middle; Does anyone know how to center align a custom HTML Block? Quote Link to comment Share on other sites More sharing options...
0 IMDora Posted March 27, 2018 Report Share Posted March 27, 2018 Try adding this code inside your HTML Block <div class="centered"> Your Code Here </div> Let me know if that helps. Quote Link to comment Share on other sites More sharing options...
0 Franchiser Posted March 27, 2018 Report Share Posted March 27, 2018 On 3/16/2018 at 10:02 AM, IMTanuki said: I have a custom HTML Block to define a report column and format. Most of the CSS format options seem to work (font-size, etc). text-align does not work. I've tried: text-align: center; text-align: middle; Does anyone know how to center align a custom HTML Block? Hi IMTanuki, Try putting !important in the attributes. text-align: center !important; Screenshot or URL will be a big help to troubleshoot. regards, Francis Quote Link to comment Share on other sites More sharing options...
0 IMTanuki Posted April 11, 2018 Author Report Share Posted April 11, 2018 Sorry for the delayed response. There are actually 2 issues: 1. text-align: center !important; does not seem to work in the html block def. 2. there does not seem to be any mechanism to customize css for the column header. Any ideas? Quote Link to comment Share on other sites More sharing options...
Question
IMTanuki
I have a custom HTML Block to define a report column and format.
Most of the CSS format options seem to work (font-size, etc).
text-align does not work. I've tried:
text-align: center;
text-align: middle;
Does anyone know how to center align a custom HTML Block?
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.