Visualizzazione risultati 1 fino 2 di 2

Discussione: How do you add an external css file?

  1. #1
    Guest

    Predefinito How do you add an external css file?

    So I've been working on my own website and wanted to implement an external css file but can't seem do link, or make it work at all. Any help would be appreciated. Thank you!

  2. #2
    L'avatar di dreadnaut
    dreadnaut non è connesso Super Moderatore
    Data registrazione
    22-02-2004
    Messaggi
    6,306

    Predefinito

    The file you loaded is there, but the link in your html has a problem:
    Codice HTML:
    <!DOCTYPE html>
    <html>
     <link rel=”stylesheet” href=”http://ryanlk.altervista.org/custom.css” type=”text/css” media=”screen, projection” /> 
     <head>
       <meta charset="UTF-8">
     </head>
    See those double quotes in the <link> tag? they are not the standard double quote character (") but fancier pairs added possibly by your text editor —compare with those used in the <meta> tag lower down. You should probably use a different software to edit the page, the bare minimum would be something like notepad2.

    In addition, the line should be inside the <head> of the page, not above.
    Ultima modifica di dreadnaut : 05-05-2016 alle ore 00.59.10

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •