div
as a vertical column of indeterminate width and height, as they depend on the amount of content and the device, and I want it to have another block div
on the top that has width: 100%;
but the height should be 53% in relation to the width of that block.
With an image instead of a div block I can do using max-width: 100%;
, but of course I need a div
block.
Understand better: link .
I can not use javascript!