Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 15
  1. #1
    Utente di HTML.it
    Registrato dal
    Aug 2006
    Messaggi
    833

    pagina senza scrollbar in FF e errori pagina

    Ciao, ho un paio di domande da fare, la prima riguarda il <body scroll=no>
    che su firefox non funziona, quale codice posso usare per non fare apparire le scrollbar
    su tutti e due i browser?

    e la seconda riguarda la validazione della pagina, come mai mi trovo 10 errori su un oggetto flash che ho inserito con questo codice:

    <script type="text/javascript">startIeFix();</script>

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1019px" height="80px" align="left" hspace="0">
    <param name="movie" value="flash/titolo.swf">
    <param name="quality" value="High">
    <param name="salign" value="L">
    <param name="loop" value="false">
    <embed src="flash/titolo.swf" width="1019px" height="80px" align="left" quality="High" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="L" loop="false"></embed>
    </object>
    <script type="text/javascript">endIeFix();</script>


    gli errori sono questi:
    - there is no attribute "SRC".
    - there is no attribute "WIDTH".
    - there is no attribute "HEIGHT".
    - there is no attribute "ALIGN".
    - there is no attribute "QUALITY".
    - there is no attribute "PLUGINSPAGE".
    - there is no attribute "TYPE".
    - there is no attribute "SALIGN".
    - there is no attribute "LOOP".
    - element "EMBED" undefined.

    Ciao

  2. #2
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620
    il body scroll="no" te lo fa passare?
    Cmq l'implementazione di file flash credo che non sia valida. tanto per spere cosa usi Html o Xhtml?
    Se usi l'xhtmk magari puoi (non ne sono sicuro) modificare la dtd (questo e possibile) in modo che non dia errori.
    O puoi cercare una dtd della MicroSoft o della MacroMedia che comprenda i file *.swf...

  3. #3
    Utente di HTML.it
    Registrato dal
    Aug 2006
    Messaggi
    833
    Allora il body scroll=no non passa e l'errore e' questo

    Error Line 31 column 13: there is no attribute "SCROLL".
    <body scroll=no>
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


    Per quanto riguarda cosa uso, dovrebbe essere html, anche se il validatore mi da l'errore
    This page is not Valid HTML 4.01 Transitional!

  4. #4
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620
    Mmmm...
    forse non si puo' usare quell'attributo poiché tipico dei frame.
    Forse lo freghi se metti unam dtd framset...

  5. #5
    Utente di HTML.it
    Registrato dal
    Aug 2006
    Messaggi
    833
    Non ho idea di cosa sia un dtd framset, se riesci mi puoi dire cosa devo fare?
    Ciao e grazie

  6. #6
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620
    un dtd frameset è un particolare tipo di Dtd legato ai frames.
    Se sai scrivere le pagine senza bisogno di editor visuali, puoi scaricarti phpdesignr, freeware che consente di scegliere le + svariate dtd...
    Se no puoi fare una ricerca o vedere sulle guide...

  7. #7
    Utente di HTML.it
    Registrato dal
    Aug 2006
    Messaggi
    833
    Grazie per la risposta, ma non sono assolutamente in grado di scrivere una pagina inserendo solo il sorgente, ho bosigno sia di riferimenti e sopratutto di aiuti anche visivi!
    Comunque se e legato ai frames non lo considero neache, ho rifatto il sito, sicuramente ancora peggio, proprio per togliere i frames.
    CIAO

  8. #8
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620
    usi front page?
    ecco per la scrollbar (se funziona non lo so)
    Codice PHP:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"

  9. #9
    Utente di HTML.it
    Registrato dal
    Aug 2006
    Messaggi
    833
    Si uso FrontPage, mi da lo stesso errore se imposto frameset al posto di transitional, in piu' ne aggiunge un paio .

    Comunque grazie di nuovo .

  10. #10
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620
    quindi:
    scrollbar non è un attributo del body.
    Spiacente

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.