Type: Posts; User: Gabarieko
Search took 0.01 seconds.
Thanks, my mistake... Works fine now
Made it so that the initial values are not change.
The function should only get (and not change) the element's properties.
So here is the final result:
You got it correct.
However, min-width won't do because it is ,yet again, ignored when applied to a span...
About the last solution, works fine and really answers the topic.
But I can't use...
Sorry for double posting...
I found a workaround, using the properties of spans.
(which can be any but I'd like to make all usable (the...
Well, this works as intended and is really what I needed (thank you for which)
but there seems to be a problem -
div's width remains unchanged although content goes out.
Try it with a...
My question is, can I get the actual size of a div's content when div's width is 'auto' and the content is small enough to fit without resizing.
I know there is a way to find the div's actual...