I don't think this is possible, but I'm going to ask him, however, let's say that I have the following HTML:
<div style="width: 500px;"> <input class="full" /> </div>
And the corresponding CSS:
input { width: 100%; } .full { display: inline; float: left; margin: 0 2%; width: 96% }
In this case, my input element will have a width of 480 pixels, this is great for most of my needs, but in some specific cases it is not, for example:
<div style="width: 500px;"> <input name="day" size="2" /> <input name="month" size="2" /> <input name="year" size="4" /> </div>
This will force the browser to display each input with a width of 500 pixels ( jsFiddle ) ...
Is there a way to make the browser roll back to the default style?
source share