Link to home
Start Free TrialLog in
Avatar of haloexpertsexchange
haloexpertsexchangeFlag for United States of America

asked on

In a html table, how do you tab down a column and not across?

In a html table, how do you tab down a column and not across?

I already tried to set the tabindex for each cell in the table, but the tab still goes across the table and down each column which I want.
Avatar of bklyn2001
bklyn2001

think it needs to be in the item inside the table cell.  this works for me in Chrome:

<form>
<table border="1">
<tr>
<td><input type="text" id="txt1" tabindex="1" /></td>
<td><input type="text" id="txt2" tabindex="3" /></td>
</tr>
<tr>
<td><input type="text" id="txt3" tabindex="2" /></td>
<td><input type="text" id="txt4" tabindex="4" /></td>
</tr>
</table>
</form>

Open in new window

Avatar of haloexpertsexchange

ASKER

I tried this already, and it didn't work in IE, Google Chrome or FF...
hmm, I tested in Firefox 3.6, IE 8, and Chrome 10.0.648.204 (win server 2003) and didn't see any problem at all.
ASKER CERTIFIED SOLUTION
Avatar of bklyn2001
bklyn2001

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I feel stupid now... I mis-spelled tabindex...