I have a text field that is expanding the entire horizontal distance to the window which I don't want. I've tried restricting the size in any way that I can think of:
<input class="searchField" id="searchBar" style="size:10;" type="text" size="10px" value="Search Here" />
with CSS:
#searchBar input
{
width:10px;
}
.searchField
{
size:10px;
}
It is likely that somewhere the other HTML/CSS code is causing it to expand all the way. My question: is there a way to override it so that locally at that input text field, I can have my own size, say 10 pixels?