How to Run Subscriber-Only Competitions on Your Blog

0 views
Skip to first unread message

Ed

unread,
Nov 23, 2009, 3:03:31 AM11/23/09
to rpgbloggers

Mad Brew

unread,
Nov 23, 2009, 3:17:14 PM11/23/09
to rpgbloggers
For people who don't want to screw with PHP or want it to appear in
placements other than the bottom of your article, I have used CSS to
get similar results. I create a div tag called "invis" and have it set
the display property to "none." All the major web browsers will not
display it (though it will still be in the source and therefore
available to search engines) while feed readers (the ones I have used)
don't parse div tags, so it then shows up. Example:

In CSS:

.invisible {display:none}

In HTML:

<div class="invisible">
Stuff you don't want showing up on the web here...
</div>

Also used like this:

<p class="invisible"></p>
<a class="invisible"></a>
Reply all
Reply to author
Forward
0 new messages