The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)


[SOLVED] richfaces rich:calendar button icon image breaking to new line. how to make it not wrap

this tutorial didn't work for me:
rich:calendar icon not displaying on same line as display box

i solved this by adding a styleClass to the surrounding panel grid:
<h:panelGrid columns="2" styleClass="tadCal">
    <h:outputText value="from date:" />
    <rich:calendar buttonIcon="/images/icons/cal_.gif" ... />

then in my css file i span elements not wrap to a new line.

.tadCal span {
    white-space: nowrap;

because this is what a rich:calendar looks like when rendered:
<input type="text" .../>
<img .../>
<input type="hidden" .../>

No comments:

Post a Comment