Android Question Webview - anchor tags

tomoshea

Member
Licensed User
Longtime User
Hi Erel,
I am using a webview to display data from sqlite db.
I have read that the inclusion of anchor tags in the html will allow me to scroll to different positions.
If so is the following correct
<table><tr>
<a name="column0"></a><th>313</th><a name="column1"></a><th>312</th><a name="column2"></a><th>311</th> ... etc
where
<a name="column0">,<a name="column1"> etc are the tags?
Also how do I code it if I wanted to scroll to tag <a name="column30"></a>?
Thank you,
Regards,
Tom
 

tomoshea

Member
Licensed User
Longtime User
Thanks guys for all the help
By changing the html tags as below everything works perfectly now
<table><tr>
<th><a name="column0">313</a></th><th><a name="column1">312</a></th><th><a name="column2">311</a></th> ... etc
Tom :)
 
Upvote 0
Top