I am trying to make the height of one of my content elements dependent to the background image.
For most screen resolutions in landscape the minimum height of 75% for the content element is perfect, the problem appears when the screen is portrait. I like the image when it is streched 100% width on the screen, but at a certain minimum width the background image is not high enough to fit the screen to full 75%. So from a certain minimum resolution I want the content under the image to move up to the background image, so there is no white space.
Can I make the content (text) element under the image move up with the background image when it scales down?
I tried finding the height attributes but since the minimal height of 75% is calculated by java I can’t find a solutions myself.
The website link is in PM.
Kinds regards, Peter
You must be logged in to reply to this topic.