Статичен background

Post Reply
User avatar
Access
Потребител
Потребител
Posts: 984
Joined: Wed May 10, 2006 12:40 pm
Location: Враца

Статичен background

Post by Access » Wed Jul 05, 2006 1:45 pm

oпитах така:

Code: Select all

#div {
  position:fixed;
}
и стана ама само под FF :)
как трябва и за другите браузари :)

User avatar
bafitu
Много Редовен
Много Редовен
Posts: 1509
Joined: Mon Dec 12, 2005 9:12 am
Answers: 102
Location: Somewhere around nothing..

Post by bafitu » Wed Jul 05, 2006 1:48 pm

ам неставаше ли с no-repeat или нещо подобно.
background-image: url(снимка) no-repeat;
май така беше

Admin
Site Admin
Site Admin
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am
Answers: 224

Post by Admin » Wed Jul 05, 2006 1:55 pm


User avatar
mute
Шаман
Шаман
Posts: 3127
Joined: Sun Sep 25, 2005 10:14 pm
Answers: 167
Location: between mind & heart
Contact:

Post by mute » Wed Jul 05, 2006 3:37 pm

ползва се background-attachment: fixed
ето ти и примера
http://www.w3schools.com/css/tryit.asp? ... attachment

User avatar
Access
Потребител
Потребител
Posts: 984
Joined: Wed May 10, 2006 12:40 pm
Location: Враца

Post by Access » Wed Jul 05, 2006 4:35 pm

благодаря :)

Post Reply