jquery - position:absolute and height -


i have example http://jsfiddle.net/hnfcu/ use jquery show , hide .child div. .child positioned absolute .parent problem try solve height of .child.

i want .child's background cover it's whole area. now, using height:100% covers partially. can't use fixed height because content dynamic.

any method, css or javascript[jquery], acceptable, or change on structure.

if understand correctly, removing bottom: 5px , height: 100% want: http://jsfiddle.net/blineberry/hnfcu/1/

this allows .child height contents.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -