-
1. Re: Display 2 buttons in a single row?
nbelaevski Aug 6, 2010 3:05 PM (in response to boy18nj)Hi Aman,
Are buttons rendered to inline or block HTML elements? Is there enough horizontal space to hold both buttons without wrapping them?
-
2. Re: Display 2 buttons in a single row?
boy18nj Aug 6, 2010 5:40 PM (in response to nbelaevski)Hi Nick,
Sorry I could not understand what it means by rendered to inline or block html elements.
If i understand you, 1 button is defined inside the page and the other button is rendered inline. And we are using ui:composition not html elments.
Yes there is more than enough horizontal space for 2 buttons without wrapping.
Thanks
-
3. Re: Display 2 buttons in a single row?
nbelaevski Aug 6, 2010 7:20 PM (in response to boy18nj)Aman,
Here is some information about that: http://www.quirksmode.org/css/display.html . What I meant to say is that some elements have default block 'display' (e.g. DIV) and some are 'inline' (e.g. SPAN or INPUT). And, simply speaking, block elements start new line, while inline do not. Can you please post snippet of rendered HTML code (together with CSS styles), so that we can review it in more details?