I have a <h:outputText> tag in h:panelgrid with 3 columns.
All together i have 3 tags inside the h:panelGrid.
h:graphicImage, h:outputText and a h:panelGroup.
Inside h:ouputText i have some text. The problem is that i want that text to be centered and i put the style tag with attribute style = "text-align:center;
However it does not work. It just comes in one line and pushes the h:panelgroup all the way to the right side of the screen.
Can i fix the width of each column under h:panelgrid? or should i put the style attribute somewer else?