Saturday, November 28, 2009

Can scrolling text go across your navigation bar?

i seen it on somebody's myspace page and i was wondering how do you do it. your navigation bar is the bar on your myspace page that has home,browse search and whatnot and i seen someone have scrolling text going across it. please help me!



Can scrolling text go across your navigation bar?

Just adjust the values in this code to what you want - font color, style, etc. The "margin-left" and "top" properties will position it on your page. The "scrollamount" property adjusts how FAST the text will scroll.



%26lt;div style="position:absolute; top:150px; left:50%; margin-left:-400px; width:800px; height:40px; font-size:40px; color:darkred; font-family:verdana;"%26gt;



%26lt;marquee direction="left" width="100%" scrollamount="30"%26gt;



TEXT HERE



%26lt;/marquee%26gt;%26lt;/div%26gt;



%26lt;style%26gt;



Can scrolling text go across your navigation bar?

Yes, you can add it pretty much anywhere. Its called a "marquee". If you want here is the html:



%26lt;marquee behavior=scroll direction="left"%26gt;Your message here%26lt;/marquee%26gt;



or one that moves back and forth with a background colour:



%26lt;marquee behavior="alternate" bgcolor="blue" width="400"%26gt;your message here%26lt;/marquee%26gt;



or one that goes up:



(just change the direction from left or alternate to up )

No comments:

Post a Comment

 
web development