A
A
Artem00712017-08-03 19:07:44
JavaScript
Artem0071, 2017-08-03 19:07:44

How to make the block width fit the table width?

How to make the width of the entire block be relative to the table?
Example

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kirill Gladkih, 2019-03-12
@kirill_gladkih

5 minutes in Google
https://habr.com/en/post/321250/

E
Eduard07, 2019-03-12
@Eduard07

Without js, with label tag
input#test
label ~ for="test"
css: input { display: none; }
And style the label

Z
zRrr, 2017-08-03
@zRrr

width: inherit
try

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question