Hi, Jason
Thanks for your help. Now the gap problem is solved. I modified the code following your advice.
I still need to add more interactive tables to the page. There are three one-row tables in the following page. Only the first one has interaction, but not the next two. I code them in html to show my intention. If you can show me how to add another table, I may be able to add more by myself.
http://www.pinyinology.com
If possible, please help more. Thanks..
Main Topics
Browse All Topics





by: jason1178Posted on 2009-06-29 at 20:18:43ID: 24741988
fuli3665,
++ ){
++ ){
It's always better to post the code along with a link. I have included your code below.
There is a gap between the text and the tables because you have some invalid javascript here:
for( var i=0;i<text2beshown.length;i
document.write('<td><span id="td'+i+'"> </span></td><br />');
}
The addition of the <br /> at the end breaks the table and the browser moves the line break to the outside of the table. Simply change the above to:
for( var i=0;i<text2beshown.length;i
document.write('<td><span id="td'+i+'"> </span></td>');
}
to fix it.
Select allOpen in new window