CSS set width to parentNode's width

Posted by arik-so on Stack Overflow See other posts from Stack Overflow or by arik-so
Published on 2010-04-11T18:10:24Z Indexed on 2010/04/11 18:13 UTC
Read the original article Hit count: 475

Filed under:
|
|
|
|

Is there a way in CSS to set the width of any element to equal the width of its parentNode? I tried 'inherit' - sounds logic - but it didn't work.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about css

Related posts about width