Hi jennisonb,
I have created a CSS code snippet that showcases how to center the component in a parent div:
.dateTimeContainer{
margin: auto;
width: 100%;
display: flex;
justify-content: center;
}
and in you HTML file:
<div class="dateTimeContainer">
<jqxDateTimeInput
[width]="300" [height]="30" [formatString]="'F'" [showTimeButton]="true">
</jqxDateTimeInput>
</div>
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
Best Regards,
Yavor Dashev
jQWidgets team
https://www.jqwidgets.com