0

I'm writing a code for my website in html.when I use < a tag as below its not working (bad).

<div id="column">
  <div class="subnav">


      <li><a href="Introduction To File.html">Introduction To File</a></li>


          <li><a href="File Access Mode.html">File Access Mode</a></li>
          <li><a href="Error in opening file.html">Error Handling</a></li>
          <li><a href="#">Closing File</a></li>
          <li><a href="End of file.html">End of File</a></li>
          <li><a href="fcloseall() vs exit().html">fcloseall() vs exit()</a></li>
          <li><a href="getchar() and putchar().html">getchar() and putchar()</a></li>
          <li><a href="getc() and putc().html">getc() and putc()</a></li>
          <li><a href="fputc() and fgetc().html">fputc() and fgetc()</a></li>
          <li><a href="fgets.html">fgets()</a></li>

  </div>
</div>

NOTE: when I click on Introduction To File i am not sent to Introduction To File.html page(bad) but, when i insert

<div class="clear"></div> 

then i m sent to Introduction To File.html page and the problem is after adding "clear" some unwanted space seems to be added which is bad.

Please help to find where i went wrong?

rick
  • 41
  • 3
  • 1
  • i tired adding it too but still no luck – rick Mar 26 '16 at 08:30
  • 1
    Weird, in my case, it is working great, i copied your code, putted it into jsfiddle and.. working? link there => https://jsfiddle.net/kwnrwrwj/ – David Stančík Mar 26 '16 at 14:32
  • @PetrCihlar It worked for me too.. just by copy pasting his code – Rajshekar Reddy Mar 26 '16 at 14:50
  • @Reddy yeah... So where is his problem (without bad code and so..)... ? :-D – David Stančík Mar 26 '16 at 14:58
  • @PetrCihlar No idea, it must be something else which he has not shown here – Rajshekar Reddy Mar 26 '16 at 15:00
  • @Reddy please check this link http://codemedad.com/c/File/Close%20a%20file.html here the link on left is not working i have used the above code – rick Mar 27 '16 at 06:00
  • @rick I gave my answer. Let me know if it helps – Rajshekar Reddy Mar 27 '16 at 06:23