By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,356 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

problem with hyperlink inside of a list item

P: 1
Hi,

In my page I am using <ol> and inside of that <li>. In this <li> tag i have 5 lines of content and middle of this(3rd line) I have a hyper line for one of the word. When we click on this hyper link, before loading the linked page, my entire content of this list item is getting off (disappearing). But other than this list item contents are stable. Could you please help me to solve this?

Expand|Select|Wrap|Line Numbers
  1. <ol>
  2. <li> fine list item>
  3. <li> This word also getting off.
  4.      but my hyper link word is next line.
  5.      the prolematic line <a href="www.asp.net">HERE</a>
  6.      But, when we click on this byper link, this entire block is getting off (these five lines).
  7.      please help me to solve this.
  8. </li>
  9. <li> Thanks in advance.</li>
  10. </ol>
  11.  
Feb 7 '12 #1
Share this Question
Share on Google+
3 Replies


P: 14
did you know you have a > right here fine list item> it might be affecting the code other wise i am stumped
Feb 9 '12 #2

sreekandank
P: 45
I have found some flaws in your code. The code rewritten as follows:

<ol>
<li> fine list item
<li> This word also getting off.
but my hyper link word is next line.
the prolematic line <a href="http://www.asp.net">HERE</a>
But, when we click on this byper link, this entire block is getting off (these five lines).
please help me to solve this.
</li>
<li> Thanks in advance.</li>
</ol>
Feb 10 '12 #3

P: 51
try to make a copy of that code in the page when you click the hyperlink.
Feb 11 '12 #4

Post your reply

Sign in to post your reply or Sign up for a free account.