Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css] Brak obrazku tła w ie6
dado
post 6.01.2008, 10:43:39
Post #1





Grupa: Zarejestrowani
Postów: 194
Pomógł: 2
Dołączył: 12.04.2004
Skąd: Częstochowa

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


mam problem z css dla ie6 :
oto css. problem leży w tym ze w ie6 nie wyświetla mi się tło main. Ani obrazek ani kolor.
Nie wiem może ktoś się już z czymś podobnym spotkał

  1. #main{
  2. overflow:hidden;
  3. background: #94551c url('img/bck2.jpg') repeat-x top;
  4. }
  5.  
  6. #main-left{
  7. margin-left:5px;
  8. float:left;
  9. width:330px;
  10. }
  11.  
  12. #main-right{
  13. float:left;
  14. width:350px;
  15. margin-left:10px;
  16. }
  17.  
  18. <div id="main">
  19. <div id="main-left"></div>
  20. <div id="main-right"></div>
  21. </div>


Ten post edytował dado 6.01.2008, 11:36:24
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
.chudy.
post 6.01.2008, 11:50:00
Post #2





Grupa: Zarejestrowani
Postów: 70
Pomógł: 3
Dołączył: 15.06.2003
Skąd: kosmosu?

Ostrzeżenie: (0%)
-----


Próbowałeś background: #94551c url('img/bck2.jpg') repeat-x top; rozbić na kawałki? Tj. background-color: #9xxx; background-image: url('xxx), itd.?


--------------------
Warsztat#1 ::drum and bass:: Apache2.2 :: PHP 5.2 ::
Go to the top of the page
+Quote Post
dado
post 6.01.2008, 12:06:30
Post #3





Grupa: Zarejestrowani
Postów: 194
Pomógł: 2
Dołączył: 12.04.2004
Skąd: Częstochowa

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


jasne próbowałem ocś takiego:
  1. background-image: url('img/bck2.jpg');
  2. background-position: top;
  3. background-repeat: repeat-x;
  4. background-color: #94551c;

ale nic to nie zmienia sad.gif
Go to the top of the page
+Quote Post
nevt
post 6.01.2008, 14:44:06
Post #4





Grupa: Przyjaciele php.pl
Postów: 1 595
Pomógł: 282
Dołączył: 24.09.2007
Skąd: Reda, Pomorskie.

Ostrzeżenie: (0%)
-----


do #main dodaj float:left;


--------------------

-
Oh no, my young coder. You will find that it is you who are mistaken, about a great many things... -
Go to the top of the page
+Quote Post

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: 26.06.2025 - 20:22