Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    errore di validazione che non trovo!

    buongiorno,
    sto realizzando un sito e ho notato che il validatore del W3C mi dà un errore che non riesco a trovare; qualcuno che ha più dimestichezza della sottoscritta, mi può aiutare a capire?

    l'errore segnalato è il seguente:

    Errori (1)
    URI : http://www.pasubio2.com/prova/style.css
    25 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video

    Parse Error Lexical error at line 27, column 2. Encountered: " " (32), after : "@"

    Grazie!
    Livia

  2. #2
    Utente di HTML.it L'avatar di Prill
    Registrato dal
    Oct 2006
    Messaggi
    2,947
    Ciao, gli errori sono nelle regole successive al reset per i vari tag, quelle col @font-face (spazio fra @ e font-face, spazio fra url e l'indirizzo del font
    codice:
    @ font-face 
    {font-family: Century Gothic; 
    src: url ("GOTHICI.eot") / * file EOT per IE * /} 
    
    @ font-face {font-family: Century Gothic; src: url ("GOTHICI.TTF")}
    puoi riscriverle così
    codice:
    @font-face {
    	font-family: 'Century Gothic';
    	src: url('GOTHICI.eot?') format('embedded-opentype'), 
    	     url('GOTHICI.ttf')  format('truetype');
    	}

  3. #3
    grazie Prill! come sempre un prezioso aiuto!!!

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 © 2026 vBulletin Solutions, Inc. All rights reserved.