Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [css] Problem z div i background
Helid
post
Post #1





Grupa: Zarejestrowani
Postów: 280
Pomógł: 20
Dołączył: 12.12.2007
Skąd: 127.0.0.1

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


Po skończonej pracy z optymalizacją kodu xhtml wziołem się za langi...
I zakończyłem na wsadzaniu ich do góry strony.
  1. .t1{
  2. background:url(images/t1.gif) repeat;
  3. color:#ccc;
  4. }

Adres tego tła: http://terrificgames.boo.pl/kosmos/images/t1.gif
Demo: http://terrificgames.boo.pl/kosmos/
  1. <div class="t1">
  2. <center>Wybierz język gry
  3. <a href="?lanaguage=de" ><img src="flags/de.png" border="none" alt="Night Racers Germany" title="Germany" /></a>
  4. <a href="?lanaguage=en" ><img src="flags/gb.png" border="none" alt="Night Racers English" title="English" /></a>
  5. <a href="?lanaguage=es" ><img src="flags/es.png" border="none" alt="Night Racers Spain" title="Spain" /></a>
  6. <a href="?lanaguage=fr" ><img src="flags/fr.png" border="none" alt="Night Racers France" title="France" /></a>
  7. <a href="?lanaguage=gr" ><img src="flags/gr.png" border="none" alt="Night Racers Greece" title="Greece" /></a>
  8. <a href="?lanaguage=it" ><img src="flags/it.png" border="none" alt="Night Racers Italy" title="Italy" /></a>
  9. <a href="?lanaguage=nl" ><img src="flags/nl.png" border="none" alt="Night Racers Netherlands" title="Netherlands" /></a>
  10. <a href="?lanaguage=pl" ><img src="flags/pl.png" border="none" alt="Night Racers Poland" title="Poland" /></a>
  11. <a href="?lanaguage=pt" ><img src="flags/pt.png" border="none" alt="Night Racers Portugal" title="Portugal" /></a>
  12. <a href="?lanaguage=ru" ><img src="flags/ru.png" border="none" alt="Night Racers Russia" title="Russia" /></a>
  13. Tu obciołem nie potrzebny kod....
Go to the top of the page
+Quote Post
grzesiek_g
post
Post #2





Grupa: Zarejestrowani
Postów: 249
Pomógł: 30
Dołączył: 18.07.2007

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


Nie piszesz o co chodzi, mam się domyślać? Ale ok. Tutaj masz kod ok (pomijam tutaj ten center, którego nie lubię), a na stronie masz zamiast div class - id. Do id odwołujesz się w CSS poprzez znak "#" a nie ".".
Go to the top of the page
+Quote Post
Helid
post
Post #3





Grupa: Zarejestrowani
Postów: 280
Pomógł: 20
Dołączył: 12.12.2007
Skąd: 127.0.0.1

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


Problem jest prosty nie wyświetla tła.
Wiem, iż mam # albowiem sprawdzałem już dużo mozliwości i ciągle to samo (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 23.08.2025 - 16:25