rtnMichael
Programmer
hey guys,
I was wondering if anybody could help me in finding the problem that's causing Netscape to show a list all on one line. IE does the page fine, and I can't see the problem off hand. Can someone help me???
here's where the problem is:
<tr>
<td valign=top>
<select name='list_of_params' size='10' multiple style='width:275px;height:200;'>
<%
While not osRecordSet.EOF
parms(max_parm) = osRecordSet.Fields("name"
' Check to see if item exists in exclude list
for q = 1 to max_exclude - 1
if exclude(q) = parms(max_parm) then
' don't print it out
found = 1
end if
next
if found = 0 then
Response.Write("<option value='"
Response.Write(parms(max_parm))
Response.Write("'>"
Response.Write(parms(max_parm))
Response.Write("</option>"
max_parm = max_parm + 1
found = 0
else
found = 0
end if
osRecordSet.MoveNext
wend
....etc.
%>
</select>
</td>
...etc
</tr>
NOTE: The ASP stuff is just to show you how many things can be generated from the database, so it's not just hard coded and the select can be of variable size
Thanks
M
I was wondering if anybody could help me in finding the problem that's causing Netscape to show a list all on one line. IE does the page fine, and I can't see the problem off hand. Can someone help me???
here's where the problem is:
<tr>
<td valign=top>
<select name='list_of_params' size='10' multiple style='width:275px;height:200;'>
<%
While not osRecordSet.EOF
parms(max_parm) = osRecordSet.Fields("name"
' Check to see if item exists in exclude list
for q = 1 to max_exclude - 1
if exclude(q) = parms(max_parm) then
' don't print it out
found = 1
end if
next
if found = 0 then
Response.Write("<option value='"
Response.Write(parms(max_parm))
Response.Write("'>"
Response.Write(parms(max_parm))
Response.Write("</option>"
max_parm = max_parm + 1
found = 0
else
found = 0
end if
osRecordSet.MoveNext
wend
....etc.
%>
</select>
</td>
...etc
</tr>
NOTE: The ASP stuff is just to show you how many things can be generated from the database, so it's not just hard coded and the select can be of variable size
Thanks
M