Hi @Brian Tan,
As far as I know, this problem may occur due to borders or paddings and margins between page elements. You can try to cancel the element width limit by setting max-width:none
;.
.CustomComboBoxStyle {
width: 1000px;
}
.CustomComboBoxStyle input {
max-width: none;
background-color: #ADD8E6;
border: solid 1px Blue;
width: 100%;
}
<div class="CustomComboBoxStyle">
<input type="text" id="CustomInput" name="CustomInput">
</div>
Result:
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.