Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html][css] Problem z przeźroczystością
mczlowiek
post
Post #1





Grupa: Zarejestrowani
Postów: 210
Pomógł: 0
Dołączył: 26.05.2008

Ostrzeżenie: (10%)
X----


Witam, mam tak ustawiony css:

#header {background: #27343C url("topbg.jpg") top repeat-x; opacity: 0.4; filter: alpha(opacity=40) ; padding: 20px 1em 7em 20px; color: #000; }
#logo {float:left; opacity: 1; filter: alpha(opacity=100) ;}
#baner {float:right; opacity: 1; filter: alpha(opacity=100) ;}

header ma ustawioną rpzeźroczystość na 0,4 ale znajdujące się w nim elementy logo oraz baner maja ja ustawiona na 1, dlaczego więc są przezroczyste tak jak caly header?



  1. <div id="header">
  2. <div id="logo">
  3. <h1 class="logo"><a href="index.php">TKTBET</a></h1>
  4. <h2>Czysty zysk ze sportu...</h2>
  5. </div>
  6. <div id="baner">
  7. <script language=javascript src="http://ads.expekt.com/affiliates/ad.aspx?pid=37713&bid=2544"></script>
  8. </div>
  9.  
  10. </div><!-- header -->
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 Aktualny czas: 20.08.2025 - 04:26