www.webdeveloper.com
Results 1 to 10 of 10

Thread: How to make my text moving from right to left?

  1. #1
    Join Date
    Apr 2009
    Posts
    3

    How to make my text moving from right to left?

    Dear Friends,

    I am using Microsoft Web Publisher to design the web page. But I don't know how to make my text moving from right to left on the web page. Please advise.

  2. #2
    Join Date
    Apr 2009
    Posts
    3
    Quote Originally Posted by learner_6 View Post
    Dear Friends,

    I am using Microsoft Web Publisher to design the web page. But I don't know how to make my text moving from right to left on the web page. Please advise.
    Hi,

    I got the following code which is working fine. I need to change the font name & to make it bold. How to modify it please?

    <div align="center"><FONT
    color="#ffffff" size="+1"><MARQUEE bgcolor="#000080"
    direction="right" loop="20" width="75%"><STRONG>This
    is cool!</STRONG></MARQUEE></FONT></DIV>

  3. #3
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    http://www.w3schools.com/
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="en">
    <head>
    <title>marquee</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <script type="text/javascript">
    </script>
    
    <style type="text/css">
    * {margin:0;padding:0;}
    #ticker {
    display:block;
    width:75&#37;;
    color:#fff;
    background:#000080;
    font-family: Gill, Helvetica, sans-serif;
    font-size:larger; 
    font-weight:bold;
    margin:auto;
    text-align:center;
    }
    </style>
    
    </head>
    <body>
    <marquee id="ticker" direction="right" loop="20">This is cool!</marquee>
    </body>
    </html>
    At least 98% of internet users' DNA is identical to that of chimpanzees

  4. #4
    Join Date
    May 2009
    Location
    Anywhere
    Posts
    30
    HTML Code:
    <marquee>like this</marquee>

  5. #5
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    There is no such thing as a <marquee> tag in HTML - it is a proprietary tag belonging to specific browsers. If you want it to work across more browsers than you should get rid of that tag and do it properly with JavaScript.
    Stephen

  6. #6
    Join Date
    May 2009
    Location
    Anywhere
    Posts
    30
    owh , but i use it in my site , it works .
    Not an Anime fan ? think of anime is like cartoon ? think that it is only for kids ?
    Clcik here , we will transform you into an anime fan !

  7. #7
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Quote Originally Posted by Aqnime View Post
    owh , but i use it in my site , it works .
    How many of the thousands of different browsers have you tried it in? It will not work in the majority of browsers as there are only a couple of different browsers that understand that tag.
    Stephen

  8. #8
    Join Date
    May 2009
    Posts
    4
    Please don't use scrolling text. It was killed 10 years ago. Review sites that you enjoy visiting... how many of them use scrolling text?

  9. #9
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    It is to be resurrected: CSS Marquee
    At least 98% of internet users' DNA is identical to that of chimpanzees

  10. #10
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    No doubt that was introduced by Mssrs Cheny and Rumsfeld. I would seem to me that this is exactly what JavaScript is for and exactly why we can turn off JavaScript.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles