jQuery UI Widgets › Forums › Angular › jqxdatetimeinput won't center
Tagged: center div jqxdatetimeinput datetimeinput
This topic contains 1 reply, has 2 voices, and was last updated by Yavor Dashev 2 months, 1 week ago.
No matter what I do, my datetimeinputs won’t center in their parent DIVs.
<div style=”margin: auto; width: 100%; text-align: center>
The jqxDateTimeinput itself is always aligned to left in the div.
I have created a CSS code snippet that showcases how to center the component in a parent div:
and in you HTML file:
[width]="300" [height]="30" [formatString]="'F'" [showTimeButton]="true">
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
You must be logged in to reply to this topic.