www.webdeveloper.com
Results 1 to 6 of 6

Thread: hide a link?

  1. #1
    Join Date
    Oct 2005
    Posts
    66

    hide a link?

    Is there a way to hide a link so that the code is still in the page source but when someone views the page they can't see the link?

  2. #2
    Join Date
    Jun 2006
    Posts
    263
    comment it out with
    <!--whatever html script you want to comment out-->

  3. #3
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    HTML Code:
    <a
      href="..."
      style="display: none;"
    >
    ...
    </a>
    But the question is, why do you want to do this?

  4. #4
    Join Date
    Oct 2005
    Posts
    66
    Thanks! The display:none worked perfectly!

    I'm trying to get around a copyright. Contractually it says we are to have the link on the page, which it is, you just can't see it now...

  5. #5
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,408
    I've got a hunch that you'd come up on the losing end should the issue go to trial. That's sort of like a printing company saying "We put the required text on the printing plate, so we fulfilled our contractual obligation. However, since the printing plate was 14 inches wide and the paper was only 11 inches wide, and the required text was on the edge of the printing plate, it didn't ever actually show up on the printed page."
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  6. #6
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    Why is it such an issue to attribute the content you've used?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles