Saturday, February 15, 2014
Advantages of this CSS:
No javascript .So, It does not affect your blogs load time.
It works on all major browsers.
You can use this css in all type of blog niche.
How to add this CSS to your blog ?
Login to Blogger > Dashboard
Click on Drop Down Menu and select Template
Backup your Template before making any changes to your blog
Now Click on Edit HTML > Proceed
Press Ctrl + F and search the code shown below.
]]></b:skin>Paste below codes above it.
.post-body {-webkit-touch-callout: none; -khtml-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none; text-align: justify;} blockquote {-webkit-touch-callout: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;}
Replace blockquote with your html tag to which you use to display the codes.Example:I am using blockquote tag to highlight the codes (i.e)
<blockquote>
code goes here....
</blockquote>
So, I used blockquote tag in above css.If your using something <codeview> your text </codeview> ,You need to replace blockquote with codeview.Now your css codes will look like,
.post-body {-webkit-touch-callout: none; -khtml-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none; text-align: justify;} codeview {-webkit-touch-callout: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;}
Now save the template .
Congratulation, now your blogger site is completely plagiarism protected.Remember this code is secure and it does not harm your SEO.Please share this post with your friends.If you have any doubts regarding this topic,Just comment below.
Subscribe to:
Post Comments (Atom)
0 Comments & Reactions:
Post a Comment