After browsing through numerous pages, I finally managed to adjust the width of my textbox and select element using jQuery 2.0.
Snippet of Code from my Project:
$(document).ready(function(){
$("#Text2").css('width','200px');
$("#uxSeries").css('width','200px');
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<input id="Text2" type="text" /> <br/>
<select id="uxSeries" />
This is only a small portion of my project. As shown in the screenshot below, the textbox's width is set to 200px as intended, but the select element's width appears to be 198px. I am puzzled as to why it is reduced by 2px.
https://i.sstatic.net/w7arZ.png
Could someone provide some guidance on what I might be overlooking?