explicitly set a field's width in css to "no-auto" -


in css field, 1 can set field like

.foo {width:auto;} 

is there non-auto can use value should not auto?

(the system working on has bunch of css files, possibly overwriting 1 another, because of localisation, fix quick bug, want to unset auto attribute.).

auto default value , means width calculated browser.

if don't want calculated automatically, alternative have set specific value in relative or absolute units (px, em, etc. or %). can use value inherit take width parent, in case element must have width.

the concept of 'no-auto' means set value explicitly. there no other possible values (except experimental keywords, modify how auto width calculated).


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -