Jump to content

Simple rem line out question


tim_ver

Recommended Posts

 

 

  I wanted to know how to rem out a line so it does not display. I do not want to delete it as I may need it later so I wanted to know what I put in front of the line to achive this. I tried // put that just displayed // in from of the line on the page.

 

Please help.

 

Thanks

 

 

 

Link to comment
Share on other sites

sure here is what I have:

 

<tr>

                      <td><img src="images/in_prt.jpg" width="10" height="14" hspace="5"></td>

                      <td nowrap><a href="prt.php?ID=<?=$_GET['ID'];?>" class="style6">PRODUCT</a></td>

                      <td><img src="images/in_pte.jpg" width="19" height="7" hspace="5"></td>

                      <td nowrap><a href="ga.php?ID=<?=$_GET['ID'];?>" class="style6">GA</a></td>

                      <td><img src="images/icn_print.jpg" width="12" height="10" hspace="5"></td>

                      <td nowrap><a href="#" onclick="javascript: window.print(); return false;" class="style6">PRINT</a></td>

                    </tr>

 

 

I want to rem out first two lines of code, so they do not display now.

 

Thanks

Link to comment
Share on other sites

<tr>
<!--ignore
<td><img src="images/in_prt.jpg" width="10" height="14" hspace="5"></td>
<td nowrap><a href="prt.php?ID=<?=$_GET['ID'];?>" class="style6">PRODUCT[/url]</td>
-->
<td><img src="images/in_pte.jpg" width="19" height="7" hspace="5"></td>
<td nowrap><a href="ga.php?ID=<?=$_GET['ID'];?>" class="style6">GA[/url]</td>
<td><img src="images/icn_print.jpg" width="12" height="10" hspace="5"></td>
<td nowrap><a href="#" onclick="javascript: window.print(); return false;" class="style6">PRINT[/url]</td>
</tr>

Link to comment
Share on other sites

I believe the word you are looking for is comment out not rem out.

 

To comment out lines in html use the comment tags (<!-- This is an html comment -->) as shown by AndyB above. HTML comments can span multiple lines so make sure you close of your comment tags correctly.

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.