I have a HTML element that varies in height dependent on what media query is being called.
Is there any way that I can store the height of the element for both queries on document load, if the css is height: auto; ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try to use the
$(selector).height( value )to get or set the height