I have the following arrangements of inline elements in my layout:
***********************************************
* Div 1 * Div 2 * Button *
* Dynamic text * Some static text * *
***********************************************
My problem is that when the content inside div 1 is long the button falls out of place.
******************************************
* Div 1 * Div 2 *
* A long dynamic text * Some static text ***********
* * * Button *
****************************************************
The desire effect is to shrink the Div 2's width and make the text to break into two lines.
***********************************************
* Div 1 * Div 2 * *
* A long dynamic text * Some long * Button *
* * static text * *
***********************************************
How would I go about doing this? Thanks!