1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I'll never validate with a marquee??

Discussion in 'HTML & Website Design' started by fryman, Apr 25, 2005.

  1. #1
    I have a marquee on a site I am building, I went to validate it, and I get errors due to the marquee. I have been reading several articles, and it seems that there is no way for a page to validate if it has a marquee. is this right?
    SEMrush
    I am so frustrated, this is the first page in my life that I was actually trying to keep clean and have it validate, and I get stuck with this. The marquee is very necesary for the design I'm using :(
     
    fryman, Apr 25, 2005 IP
    SEMrush
  2. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,127
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could try a JS method, but the <marquee> was added by MS & never caught on. Just like those <blink> tags
     
    Corey Bryant, Apr 25, 2005 IP
  3. SEbasic

    SEbasic Peon

    Messages:
    6,318
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What are the tag's you're using FryMan?
     
    SEbasic, Apr 25, 2005 IP
  4. fryman

    fryman Kiss my rep

    Messages:
    9,605
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #4
    I have no idea about webdesign, that is why I am putting this page as my goal, if I make it validate I will just be so happy...

    Could you point me to some article that explains that JS stuff you are talking about?

    Normal tags, the validator gets stuck as soon as it sees the <marquee> tag
     
    fryman, Apr 25, 2005 IP
  5. running

    running Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    fryman, post the url where the problem is so we can see if there is a solution
     
    running, Apr 25, 2005 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,318
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    What DocType are you using?

    It shouldn't be an issue with XHTML transitional (I don't think).
     
    SEbasic, Apr 25, 2005 IP
  7. fryman

    fryman Kiss my rep

    Messages:
    9,605
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #7
    HTML 4.01 Transitional

    Don't want to post the url until I make this thing validate ;)

    But this is the code I am using (a marquee with a background image)

    And validator send this:

     
    fryman, Apr 25, 2005 IP
  8. SEbasic

    SEbasic Peon

    Messages:
    6,318
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #8
    In that case, try this (I don't know if it'll work or not)...

    <MARQUEE SCROLLDELAY="50" STYLE="font-family: Verdana; font-size: 2mm; color:#FFFFD4" BACKGROUND="#ref here">Blah</MARQUEE>

    I realy don't know if it'll work...

    Personally, I'd change the DocType and see if that makes a difference.
     
    SEbasic, Apr 25, 2005 IP
  9. fryman

    fryman Kiss my rep

    Messages:
    9,605
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #9
    Everything else on my page validates, so the doc type seems correct. I am browsing around some pages, but it seems that the marquess tag is not accepted by w3, so I am trying to find anything similar
     
    fryman, Apr 25, 2005 IP
  10. SEbasic

    SEbasic Peon

    Messages:
    6,318
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Can't help you there I'm afraid...

    I'd go with a JS option though if it's a real issue.
     
    SEbasic, Apr 25, 2005 IP
  11. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,127
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #11
    <marquee> is a proprietary tag & W3 will not validate it. MS created the tag for IE & Netscape did adopt it. You can read some here Marquee tag
     
    Corey Bryant, Apr 25, 2005 IP
  12. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,127
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Corey Bryant, Apr 25, 2005 IP
  13. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,462
    Likes Received:
    1,503
    Best Answers:
    76
    Trophy Points:
    510
    #13
    Fryman, I think javabotique has a variety of javascript scrollers that give same apperance as marquee. Even if you use marquee, text will not scroll on Netscape, or at least did not in the past. I can not keep up with what works or does not work on all the browsers.

    Due to problems with javascript and machines running IE on high security, javascript scrollers are not such a great idea either.

    The bottom line is best bet may be to get rid of idea of scroller. Sorry to say it. I too am faced with changing a site to get rid of my javascript hover button. Boo hiss regaring these types of issues.

    Best of luck.

    Shannon
     
    Smyrl, Apr 25, 2005 IP
  14. running

    running Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    well this way it validates well:

    <script type="text/javascript">
    document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" >');
    document.write('<marquee scrolldelay="50" style="font-family: Verdana; font-size: 2mm; color:#FFFFD4">');
    document.write('TEXT CONTENT OF MY MARQUEE');
    document.write('<\/marquee>');
    document.write('<\/td><\/tr><\/table>');
    </script>

    here is the validated url:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.altayposicionamiento.com%2Fprueba.htm&charset=%28detect+automatically%29&doctype=%28detect+automatically%29

    think this will help, sorry my english
     
    running, Apr 25, 2005 IP
  15. fryman

    fryman Kiss my rep

    Messages:
    9,605
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #15
    Cool... I haven't slept in 20 hours, I need to go rest a while and I'll check it out when I wake up.

    Thanks!
     
    fryman, Apr 25, 2005 IP
  16. Solicitors Mortgages

    Solicitors Mortgages Well-Known Member

    Messages:
    2,217
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    103
    #16
    thats right Fryman, if someone is running a 'tight P.C'..... they won't even see your javascript marquee, wouldnt say that was too high a percentage....but its enough.

    so you get to choose... validate or see the marquee
     
    Solicitors Mortgages, Apr 25, 2005 IP