Since the button sub is dynamic, the text in the button “sub” can be “sub123456789012345678901234567890”.
Then, the button “logIn” is dropped at http://dot.kr/x-test/layOut2/dynamicSub3.php.
In order NOT to drop the button “logIn”, I change the both button “sub” and “logIn” from DIV to SPAN at http://dot.kr/x-test/layOut2/dynamicSub4.php. But the button logIn is still droppped.
How can I make the button “logIn” is not dropped when the text of the button “sub” is very long?
(I want to make it, the button “sub123456789012345678901234567890” is automatically dropped just before the button “logIn” by the code “word-break:break-all;border-collapse:collapse”.)
However the whole line will drop below “login” and not just the necessary characters. If you want the text to wrap then remove the float:left and apply overflow:hidden instead.
But I found it has a problem.
Since the button sub is dynamic, the text in the button “sub123456789012345678901234567890” can be “sub12345”.
The button “sub123” is unexpectedly stretched to the right end at http://dot.kr/x-test/layOut2/dynamicSub8.php.
I like to remove the blank part of the button “sub123”.