mi servirebbe gentilmente il codice htm per bloccare un immagine piccola in alto a sinistra della pagina come sfondo.
grazziiee![]()
mi servirebbe gentilmente il codice htm per bloccare un immagine piccola in alto a sinistra della pagina come sfondo.
grazziiee![]()
codice:body { background: url(miaimg.png) no-repeat 0 0; }![]()
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
ops non funzia.... ma era da inserire percaso in un css ?
Yes! E ovviamente l'url deve corrispondere alla TUA immagine.
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
risolto
body {
background: #efefef;
background-image: url('4_foto_40px.jpg');
background-position: 100% 30px;
background-repeat: no-repeat;
margin: 0px 0px 0px 0px;
}
![]()
Il codice da te scritto si può alleggerire, utilizzando le shorthand css:
codice:body { background: #efefef url('4_foto_40px.jpg') no-repeat 100% 30px; margin: 0; }![]()
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/