CSS Q
CSS Q
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- spiralstarez0
It would help more if you could post an example.
Heights are tricky in CSS. You can get widths to inherit from the parent quite easily, but heights are a different story.
I've used Javascript before to change it onLoad on the body tag:
// get the parent element height
parentElement = document.getElementByID('element...
ChildElement = document.getElementByID('element... = parentElement + 'px';