I have a problem with the width of a set of fields. This is not automatic content tuning. It sets the width to the width of the screen. Is there a way to configure the auto-adjustment of the width of the contents of a field set?
The field is the same size as the parent container, like any element of the block level, unless you give it a fixed width. Therefore you must do it display: inline-block.
display: inline-block
here is an example: http://www.pixy.cz/blogg/clanky/css-fieldsetandlabels.html
<fieldset style="width:0px"> </fieldset>
0 Hml:
<fieldset class="field"> </fieldset>
Css:
.field { width: 0; }
<fieldset style="width:270px">
Source: https://habr.com/ru/post/1763698/More articles:How to create a template system (e.g. Tumblr's) in Rails? - ruby-on-railsHow to compile C ++ / C # / java? - javaAndroid soundpool timing - androidQuery a for a specific type of object in the collection - linqTranslation Error - objective-cA smart way to evaluate what is the right NoSQL database for me? - databaseHow to balance bandwidth load in file streaming? - nginxWhat languages ββare suitable for writing a web crawler? - c ++field width 100% of parent - htmlImplementation of Shunting Yard in PHP is necessary, it interprets and analyzes the string, performs a mathematical comparison and returns a logical result - stringAll Articles