Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
automatic adjustment of container height

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


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact