By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

Animating flashing text

P: 25
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?

Regards

Blackmore
Feb 27 '08 #1
Share this Question
Share on Google+
4 Replies


Markus
Expert 5K+
P: 6,050
Expand|Select|Wrap|Line Numbers
  1. <div style="text-decoration: blink;">blinking text</div>
  2.  
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

drhowarddrfine
Expert 5K+
P: 7,435
No, it's not deprecated.

I'd never think badly of you Markus. No matter how bad the suggestion. :)
Feb 27 '08 #3

P: 25
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?
i.e.

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.

Regards

Blackmore
Feb 28 '08 #4

drhowarddrfine
Expert 5K+
P: 7,435
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.