HTML question

Hi, I have a JSP where I show many information into a SELECT form field.I would to know if is possible to align the options values to the CENTER, because when you make a <select> form field, the values you show are aligned to the left.Thanks
[282 byte] By [jesusmgmarina] at [2007-11-26 12:44:48]
# 1
there is text-align something under style on all the html tag that can be used, if that is what u after.
novicessa at 2007-7-7 16:22:53 > top of Java-index,Java Essentials,Java Programming...
# 2

Hi, I've tried doing:

1)

<select size="20" class="selectionConfig" style="width:100%; text-align:center">

<%

for(int i=0;i<PowerTable.length;i++)

{%>

<option style="background-color:#C2E7D2">

<%=PowerTable[i][0]%>

</option>

<%}%>

</select>

2)

<select size="20" class="selectionConfig" style="width:100%">

<%

for(int i=0;i<PowerTable.length;i++)

{%>

<option style="background-color:#C2E7D2; text-align:center">

<%=PowerTable[i][0]%>

</option>

<%}%>

</select>

3)

<select size="20" class="selectionConfig" style="width:100%">

<%

for(int i=0;i<PowerTable.length;i++)

{%>

<option style="background-color:#C2E7D2; text-align:center">

<font style="text-align:center"><%=PowerTable[i][0]%></font>

</option>

<%}%>

</select>

But not is possible

jesusmgmarina at 2007-7-7 16:22:53 > top of Java-index,Java Essentials,Java Programming...
# 3
Are you trying to center the text inside the drop-down box? If so, I'm pretty sure that's not possible. If you're trying to center the drop-down boxes themselves, then it may be affected by the bugs in the way browsers center certain elements: http://dorward.me.uk/www/centre/
hunter9000a at 2007-7-7 16:22:53 > top of Java-index,Java Essentials,Java Programming...