Rychertate
MIS
My drop down list is going to look like this in HTML
8000 abc project
8098 dbei anotherproject
8983 ehisfegb newproject
4323 dsd thisproject
*************************************
Problem arises when I try to space the 3rd column. It doesn't line up when I try to pad spaces. Mine is turning out like this
8000 abc project
8098 dbei anotherproject
8983 ehisfegb newproject
4323 ds thisproject
The above is incorrect.
I've done this in JSP within a loop. "project" is a variable that holds a value of the 2nd field above.
I have the below in a loop with a new "project" each time.
*************************************
int project_length = project.length();
int nSpace_amount = 12-project_length;
for (int x=0; x <= nSpace_amount; x++)
{
out.println(" ");
}
************************************
What can I do? The spacing is not doing what I want it to do.
8000 abc project
8098 dbei anotherproject
8983 ehisfegb newproject
4323 dsd thisproject
*************************************
Problem arises when I try to space the 3rd column. It doesn't line up when I try to pad spaces. Mine is turning out like this
8000 abc project
8098 dbei anotherproject
8983 ehisfegb newproject
4323 ds thisproject
The above is incorrect.
I've done this in JSP within a loop. "project" is a variable that holds a value of the 2nd field above.
I have the below in a loop with a new "project" each time.
*************************************
int project_length = project.length();
int nSpace_amount = 12-project_length;
for (int x=0; x <= nSpace_amount; x++)
{
out.println(" ");
}
************************************
What can I do? The spacing is not doing what I want it to do.