roberto64 Registered User |
Quote
|
2021-12-10 18:00:44 |
|
I have three continers on my website, the first is a menu, the second is an image and the third is a status bar.
When the size of the brouser is changed, the menu and status container automatically adjusts its width, but the image continer only adjusts its width but not its height ....
how to configure the continer to automatically adjust width and height According to the size of the brouser?
|
erik Registered User |
Quote
|
2021-12-11 04:18:59 |
|
It's very unusual to adjust the height based on the browser height, but I guess you could do it like that: Right-click the container, select "HTML Code...", select "Additional CSS Styles" and type:
height: 50vh;
Which makes it 50% of the height of the browser window. Won't be shown in the editor, but when you click 'preview'.
|
bupp Registered User |
Quote
|
2021-12-11 11:49:42 |
|
if you have an image inner a container: In the image properties you make per example 100%,auto
|