Help:Header facet with one command button on left and other on right?

Hi., I want to place in one header, a command button on left side and other on the right most side. How can I achieve this?. I already tried in many ways but no success yet. Please help me.Thanks
[216 byte] By [qus_jsfa] at [2007-10-2 10:15:53]
# 1
insert panelGrid with two columns there. Echo column will contain one button. Define two classes - one per column. Have a text-align:left for the left column and text-align:right for the right one.--Sergey : http://jsfTutorials.net
Sergey.Smirnova at 2007-7-13 1:40:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks a lot.Its working.
qus_jsfa at 2007-7-13 1:40:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Sorry, I forgot to say that we have to use width:100%.

Take a look at the code:

<f:facet name="footer">

<t:panelGrid columns="2" columnClasses="left_align, right_align ">

<h:commandButton value="LEFT_SIDE" action="" />

<h:commandButton value="RIGHT_SIDE" action="" />

</t:panelGrid>

</f:facet>

CSS

.left_align {

width: 100%;

text-align:left;

}

.right_align {

width: 100%;

text-align:right;

}

Greets.

qus_jsfa at 2007-7-13 1:40:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
It is not quite correct to add 100% to each column. Add width="100%" to the panelGrid as an attribute instead. I.e.:<t:panelGrid columns="2" width="100%" columnClasses="left_align, right_align ">--Sergey : http://jsfTutorials.net
Sergey.Smirnova at 2007-7-13 1:40:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...