Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes f:selectItem item alignment issues in Internet Explorer(IE) 7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "f:selectItem item alignment issues in Internet Explorer(IE) 7.0" Watch "f:selectItem item alignment issues in Internet Explorer(IE) 7.0" New topic
Author

f:selectItem item alignment issues in Internet Explorer(IE) 7.0

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,
I have jsf radio button "f:selectItem" component with label. Rado buttom and label aligning perfect in Firefox 3.6.13 in single line. In IE67.0 label misaligned and coming later half in second line. I tried
style="white-space:nowrap; but did not help.

When i had earlier similar issue with <helectBooleanCheckbox id=
then putting
style="white-space:nowrap; on that component and containing td column component fixed the issue. Any ideas, sample code, resources, suggestions highly appreciated. Thanks in advance
Leonardo Fagundes
Greenhorn

Joined: Apr 04, 2012
Posts: 1
Hi,

I had the same problem with an f:selectItem inside a h:selectOneRadio.
I've solved it by changing from h:selectOneRadio to t:selectOneRadio from Tomahawk.

Just changing from h: to t: solved it :-)

I've found an example ofr Tomahawk's selectOneRadio here: http://www.roseindia.net/jsf/apache-myfaces-tomahawk/tomahawk_selectOneRadio_tag.shtml

Thanks.
 
 
subject: f:selectItem item alignment issues in Internet Explorer(IE) 7.0
 
Similar Threads
problem with header text alignment
Struts 2.1 error message breaks page html formatting
Tooltips and command buttons
Word Break not supported by Firefox
Want to Stop Text Wrap Around in Table Cells