Ho questo script per far votare le persone ad un sondaggio come posso fare in modo che le varie voci vanno in orizzontale invece che in verticale?
codice:<% lAnketID = request("ID") set conn = Server.CreateObject("ADODB.Connection") Set rs = Server.CreateObject("ADODB.Recordset") conn.open sConnAnket set rs.ActiveConnection = conn rs.CursorType = adOpenStatic sSQL = "SELECT SurveyID, SurveyName, SurveyQuestion FROM Surveys WHERE SurveyID = " & lAnketID rs.Open sSQL, , , adCmdTable if rs.eof or rs.bof then response.write "Error : Survey not found Survey ID:" & lAnketID response.end end if sSurveyName = rs("SurveyName") sSurveyQuestion = rs("SurveyQuestion") rs.close %> <form action="cast.asp?ID=<%=lAnketID%>" method="post"> <table border="0" cellspacing="1" cellpadding="2" width="100%" bgcolor="#ffe4b5"> <tr> <td class="header2"><%=sSurveyQuestion%></td> </tr> <% sSQL = "SELECT OptionID, OptionText, AdditionalInformation FROM Options WHERE SurveyID = " & lAnketID rs.Open sSQL, , , adCmdTable do while not rs.eof %> <tr> <td class="smalltext"> <input type="radio" name="optSecenek" value="<%=rs("OptionID")%>"> <%If rs("AdditionalInformation") <> "" then%> &name=<%=Server.URLEncode(rs("OptionText"))%>')"><%=rs("OptionText")%> <%Else%> <%=rs("OptionText")%> <%End If%> </td> </tr> <% rs.movenext loop rs.close %> <tr> <td align=right><input type="submit" name="cmdOyVer" value=" Send " class="flatbutton"> </td> </tr> </table> </form>

Rispondi quotando