Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nancy on Apr 11, 2008 05:12
open dhtmlx forum
Align Footer right

How to align footer content to right.I have written code like this. I am not able to understand where to place text-align:right.

sample="sample" & ","& 120

Response.Write "<call command=""attachFooter"">"
Response.Write "<param>" & sample& "</param>"
Response.Write "</call>"
Answer posted by Support on Apr 11, 2008 05:42
The correct code will be

Response.Write "<call command=""attachFooter"">"
Response.Write "<param>" & sample& "</param><param>text-align:right,text-align:right</param>"
Answer posted on Apr 11, 2008 06:03

I guess since sample contains two values text-align:right is given two times. But my sample value will be dynamic and it will vary. So then how can I use text-align:right

for i=1 to index

sample="sample" & ","& 120

next

Response.Write "<call command=""attachFooter"">"
Response.Write "<param>" & sample& "</param>"
Response.Write "</call>"

Answer posted by support on Apr 11, 2008 07:32
You can build the necessary string same as you building the sample string, but use necessary column aligns instead of column labels
Answer posted on Apr 13, 2008 23:51
Thanks for the suggestion. It worked.