html - margin offset from left begining output text via css style -
i have litle overview css ask, have form
<h:form> <h:outputlabel1 value="some text1"/> <h:outputtext1 value="someoutputtext1 /> . . <h:outputlabeln value="some textn"/> <h:outputtextn value="someoutputtextn/> <h:form/>
result :
some text1 someoutputtext2 textn someoutputtextn
how set offset margin via style="" attributte origin of "some text1" origin "someoutputtext2" want reach each output text have same starting position, much advice.
use h:panelgrid create form. this:
<h:form> <h:panelgrid id="panel" columns="2"> <h:outputlabel value="some text1"/> <h:outputtext value="someoutputtext1 /> <h:outputlabel value="some textn"/> <h:outputtext value="someoutputtextn/> </h:panelgrid> <h:form/>
i recomend add together new column of messages handle validation errors, tag <h:outputlabel1>
doesn't exist, utilize <h:outputlabel > and advertisement id attribute mark field unique name.
sorry bad english
html css
No comments:
Post a Comment