Forum » Izdelava spletišč » Koda za sliko
Koda za sliko

VAgency ::

Binji ::
S CSS se nastavi fixed background.
(Googlaj css fixed background)
(Googlaj css fixed background)
Kdor ne navija ni Slovenc, hej, hej, hej!

VAgency ::
<html> <head> <style type="text/css"> body { background-image:url('poroka.png'); background-repeat:no-repeat; background-position:top right; margin-right:200px; } </style> </head> <body> <h1>Hello World!</h1> <p>W3Schools background no-repeat, set postion example.</p> <p>Now the background image is only show once, and positioned away from the text.</p> <p>In this example we have also added a margin on the right side, so the background image will never disturb the text.</p> </body> </html>
No zdej bi rabil namest zgoraj, da mi kaže spodaj in to je to :-)

misek ::
body { background-image:url('http://www.google.si/images/nav_logo6.png'); background-repeat:no-repeat; background-position:bottom right; background-attachment:fixed; }
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Podrta oblika straniOddelek: Izdelava spletišč | 1422 (1101) | echoman |
» | Html in CSSOddelek: Izdelava spletišč | 2300 (1853) | mte |
» | [CSS]Pozicioniranje footer divaOddelek: Izdelava spletišč | 2507 (2454) | amaze646 |
» | Kontaktni ObrazecOddelek: Izdelava spletišč | 2343 (1712) | c3p0 |
» | CSS background-image in IE6?Oddelek: Izdelava spletišč | 3118 (2984) | Road Runner |