homepage Welcome to WebmasterWorld Guest from 54.234.74.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Hiding a link
in large easily-copied data table
KeithDouglas




msg:967911
 9:06 pm on Apr 13, 2005 (gmt 0)

I am working on a website that displays a large amount of statistical information in tables, page after page of tables, which are of interest to a small group of web users. The data itself is in the public domain, but I have done a lot of work arranging it into nicely CSS-formatted, easy-to-read tables.

Now that they are on the web, it would be an easy thing for a competitor to copy and paste the <table> . . . </table> source code and put it on their own website.

So I am thinking I would like to embed a few links to my website's homepage deep in the middle of each table. I want them to be invisible, but I want them to be functioning links that a search engine would follow. That way, if someone rips me off there would be links to my site from his site.

Because I want the links to be invisible even when they are placed on another website, I am guessing I should use something like

<span style=" . . . ">
<a href="mysite">mysite</a>
</span>

but what is the best CSS to put in the style? or is there some better way? or is this not a good idea at all?

 

treeline




msg:967912
 9:55 pm on Apr 13, 2005 (gmt 0)

In your link html, just set the text-decoration to "none" and also set your link color to the same as surrounding text. Do this at the link level, not at the top of the page to be sure it gets copied.

Including a small spacer gif hard-linked back to your site will help you spot thieves.

KeithDouglas




msg:967913
 10:00 pm on Apr 13, 2005 (gmt 0)

just set the text-decoration to "none" and also set your link color to the same as surrounding text. Do this at the link level, not at the top of the page to be sure it gets copied.

But . . . different parts of the tables have different background colors. And these are controlled in a separate CSS stylesheet. So, if I set the link text color to match, that will make the link invisible on my website. But if the table code is copied and pasted into another website (without the separate stylesheet), the links will suddenly be visible, right?

Is there some way to make the link text transparent?

markanthony




msg:967914
 10:30 pm on Apr 13, 2005 (gmt 0)

display: none;

This will make the browser not display the item at all even though the item will be available as SE food and still in the source code.

jimbeetle




msg:967915
 10:53 pm on Apr 13, 2005 (gmt 0)

Also, check out the visibility property. I was crusing through w3c last night and ran across how you can use it to take a row or column out of the display.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved