Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DropDownList in Table 2

Status
Not open for further replies.

Mtneer

IS-IT--Management
Apr 1, 2002
6
US
The following script, embedded in a table, yields an extra line of blank space in the cell. Anyone have any idea why? Thanks in advance!
Code:
<TABLE BORDER=3>
<TR>
<TD>
<SCRIPT Language=&quot;JavaScript&quot;>
 <!-- hide from old browsers
function loadPage(pageURL){
location.href = pageURL.options[pageURL.selectedIndex].value
}
 //-->
 </SCRIPT>
 <FORM>
<select onChange=&quot;window.location.href=this.options[this.selectedIndex].value;&quot;>
<option value=&quot;&quot; selected> Enemy Boards </option>
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=74&amp;p=16&quot;>WVU</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=100&amp;p=16&quot;>BC</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=139&amp;p=16&quot;>UConn</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]http://boards.rivals.com/default.asp?sid=42&amp;p=16&quot;>OleMiss</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=295&amp;p=16&quot;>Gtown</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=86&amp;p=16&quot;>Miami</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=1071&amp;p=16&quot;>ND</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=89&amp;p=16&quot;>Pitt</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=348&amp;p=16&quot;>Prov</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=122&amp;p=16&quot;>Rutgers</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=230&amp;p=16&quot;>SJU</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=365&amp;p=16&quot;>S[/URL] Hall</option>
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=54&amp;p=16&quot;>Cuse</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]http://boards.rivals.com/default.asp?sid=109&amp;p=16&quot;>Temple</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=176&amp;p=16&quot;>Nova</option>[/URL]
<OPTION VALUE=&quot;[URL unfurl="true"]Http://boards.rivals.com/default.asp?sid=77&amp;p=16&quot;>VT</option>[/URL]
 </SELECT>
 </FORM>
</TD>
</TR>
</TABLE>
 
try putting the form tags outside the table...that may help jared@aauser.com
 
I agree with that suggestion... or at least the </form> anyway. It always produces a break afterward, so figure out where it won't cause a problem, and put the closing tag there.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
> It always produces a break afterward

Yes it does! And isn't that ANNOYING!! B-(

-pete
 
You guys rock! thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top