hi
i need to add some values together and hope there is an easier way than making a tree of add commands until you get the final result!
can you please give me a hint?
thanks
sven
hi
i need to add some values together and hope there is an easier way than making a tree of add commands until you get the final result!
can you please give me a hint?
thanks
sven
hi klaus
thanks for that. i already tried to use calc several times, but most of the time i do not get the right syntax to get it working.
-> i would like to use it to add 2 pixelheights and an offset value
what i tried is this:
or is there an easier way to set the height of a container to the total height of all the content?
thanks
sven
get() is not needed in calc()
--->
generally you can also work with % values,
so maybe height = 100% would work, but there you need to test.
mit gruess! ;)
perfekt, danke!
works fine now! the question about total height was for a surrounding container. if i would use 100% there, it would check the size of it's parent object.
but i do want to now the total size of all the child elements together. i think the % won't work there...
sven
Don’t have an account yet? Register yourself now and be a part of our community!