salve,
io sto realizzando il mio primo css e il mio primo sito fatto "a mano".
vorrei mettere nell'header un'immagine però non so come fare
codice html:
codice css:codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//IT" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>www.infocalcio.tk | home page</title> <link rel="stylesheet" type="text/css" href="stile.css" /> </head> <body> <div id="header" img src="banner.jpg"></div> </body> </html>
come faccio?codice:body {background: #0f0 url(sfondo.jpg) fixed repeat-x ; margin:0.5% 2.5% 0.5% 2.5%; border:2px solid #ff0; font-family: Arial, Verdana, sans-serif} #header {background: #000 ; margin:0.5% ; padding:0.5%}
vi ringrazio per la risposta![]()

Rispondi quotando