Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Przenikanie
Wieczny
post 10.07.2008, 10:12:05
Post #1





Grupa: Zarejestrowani
Postów: 191
Pomógł: 1
Dołączył: 21.03.2007

Ostrzeżenie: (60%)
XXX--


Jednak obrazek nie robi sie przezroczysty, chce aby login.gif wtapiał się w tło i nic z tego nie wychodzi smile.gif
  1. body {
  2. background-color: #000000;
  3. background-image: url(bg.jpg);
  4. background-position: 0 0;
  5. background-repeat: no-repeat;
  6. background-attachment: fixed;
  7. position: relative;
  8. }
  9.  
  10.  
  11. #bg {
  12. width: 800px;
  13. height: 600px;
  14. float: center;
  15. background-image: url('bg.jpg');
  16. }
  17.  
  18. #login {
  19. width: 224px;
  20. height: 112px;
  21. background-image: url(img/login.gif);
  22. background-color: #000000;
  23. background-position: 0 0;
  24. background-repeat: no-repeat;
  25. background-attachment: fixed;
  26. position: absolute;
  27.  
  28. top: 0px;
  29. }
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 24.07.2025 - 17:41