467,910 Members | 1,774 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Animating flashing text

I'd like to animate some of the text on my website, such that in certain instances it appears to flash on and off as if it were a flashing bulb. Could anyone suggest the most efficient way of doing this?


Feb 27 '08 #1
  • viewed: 3651
4 Replies
Expert 4TB
Expand|Select|Wrap|Line Numbers
  1. <div style="text-decoration: blink;">blinking text</div>
I don't endorse the above, as it's deprecated - i believe.

Don't want howard thinking im teaching awful html!
Feb 27 '08 #2
Expert 4TB
No, it's not deprecated.

I'd never think badly of you Markus. No matter how bad the suggestion. :)
Feb 27 '08 #3
I don't appear to be able to make this work. It appears logical enough to me. I've tried the code as suggested. I tried changing the colour of the text to highlight the effect. Unfortunately, it does appear any different from the text without the text-decoration setting.

I am using a CSS style on the text and I am manipualting that in the tag. I'm not sure if that will have anu effect?

Expand|Select|Wrap|Line Numbers
  1. <div class="css_style" style="text_decoration: blink;">Blinking Text</div>
Does the font size matter. Currently, the font size is 11px.


Feb 28 '08 #4
Expert 4TB
Yeah, you were probably using Internet Explorer. I forgot to check but "blink" only works in modern browsers.
Feb 28 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by rikesh | last post: by
2 posts views Thread by Phillip Parr | last post: by
9 posts views Thread by Phillip Parr | last post: by
4 posts views Thread by Randy Harris | last post: by
1 post views Thread by Thilo Frank | last post: by
2 posts views Thread by DzemoT. | last post: by
16 posts views Thread by Highlander | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.