width - Use CSS to set units to px (where no unit defined) -


the problem: old dinosaur working outdated html/css styling. dude managed enter whole bunch of input field sizes using style='width:80' , similar. that's right, without 'px' or anything.

now works satisfactorily in msie 10 , above chrome , firefox, unfortunately interface has support msie 9 (i have not dared attempt msie 8....) , msie 9 not this. fields seem have random/default length , looks horrendous.

replacing instances of task more daunting coming dead (a general replace moderately useful) question is...

is possible set "the" unit in css applied fields missing one? use of jquery ok, jqueried wazoo that's fine. please tell me @ available option... or shall find myself going mad replacing 1000+ fields...

no, not possible. units must defined, except value 0.

but shouldn't daunting, surely regexp or 2 handle it?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -