set height of textbox -(minus) variable div height(div height can differ) in css??? RRS feed

  • Question

  • Hello

    I have a textbox which height i set by css in %. Just above i have a div menu which contains table. The height of the div can vary dependent on how many menu items is shown. 

    So what i need is:

    height of the textbox which is 93% - height of div is it possible in css? I know i can do it in Jquery or javascript easily but is it possible in css???

    Thank you in advance :)

    • Edited by Simpa151 Wednesday, June 5, 2013 11:56 AM
    Wednesday, June 5, 2013 11:56 AM

All replies

  • hiii,

    the css property value is static, you can not calculate it via other property's value

    • Proposed as answer by Ealsur Tuesday, June 11, 2013 3:40 PM
    Tuesday, June 11, 2013 7:42 AM