ciao a tutti, ho iniziato a scrivere 2 file. 1 html e l'altro css ma il file html non prende le proprietà del file css.
perché?
index.html
index.cssCodice:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="generator" content="AlterVista - Editor HTML"/> <title>Home page</title> <link rel="stylesheet" type="text/css" href="index.css"> </head> <body> a <div class="div1"> 1 </div> <div class="div2"> 2 </div> </body> </html>
Codice:body { background-color: #e6e9e9; } .div1 { background-color: grey; width: 50%;} .div2 { background-color: blue; width: 50%;}

1Likes
LinkBack URL
About LinkBacks



