<style type="text/css"> <!-- p#blinking {text-decoration: blink;} --> </style> <p id="blinking"><a href="mailto:email@domain.com">Email me</a></p> the above code will work on mozilla but not in I.E. how to get css blink effect in both IE and Mozilla
Try this: <style type="text/css" xml:space="preserve" class="blink"> div.blink {text-decoration: blink;} </style> <div class="blink">This is an example of blinking text.</div> Code (markup):
I got the solution: Paste this part of the code in the <head> of your page <!--[if IE]> <script type="text/JavaScript"> function doIt(){ document.getElementById('blink').style.visibility = (document.getElementById('blink').style.visibility == "hidden") ? "visible" : "hidden"; } function Knipper(){ setInterval('doIt()',1000); } window.onload = Knipper; </script> <![endif]--> PHP: And where you wanna blink paste this: <p>My <span id="blink">Blinking Text</span></p> PHP: This code is 100% XHTML valid - RobertMedia
it's working robert.but client wants css property...we are not using jscript,bcz of search engine friendly..