Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML + CSS]Kłopoty ze stylem, tak jakby nie wykrywal
Kamils2
post 2.02.2007, 20:15:38
Post #1





Grupa: Zarejestrowani
Postów: 158
Pomógł: 0
Dołączył: 13.09.2006
Skąd: Puławy

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


witam aktualnie pracuje nad moim portfolio i mam dosc dziwny problem

okolo 10 min temu laya skladac zacząłem ;]

otoz tak jakby nie wykrywalo by mi style.css

podam uklad katalogow

adres.pl/news.php - w tym pliku includuje plik theme.php z funkcja top()

adres.pl/themes/retro/theme.php - funkcje od laya

adres.pl/themes/retro/style.css - plik css

i w funkcji mam takie cos

  1. <?php
  2. function top () {
  3.  
  4. echo "<html>
  5. <head>
  6. <title>Kamils2 Studio - Lost piece of network</title>
  7. <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-2'>
  8. <meta name='description' content='K2 Studio'>
  9. <meta name='keywords' content='Kamils, Kamil, Kamils2, Kamola, Kamil, Portfolio, Studio, php, MySQL, Skrypty, T
    utoriale, Newsy, CMS, engine, php i MySQL, Download'>"
    ;
  10.  
  11. echo '<LINK rel=stylesheet href="/themes/retro/style.css" type="text/css">';
  12.  
  13. echo "</head><body background='/themes/retro/gfx/bg.gif'><center>";
  14.  
  15. echo '
  16. <table width="804px" cellspacing="0" cellpadding="0">
  17. <tr><td width="804px" height="11px" class="start">
  18. <img src="/themes/retro/gfx/top1.gif">
  19. </td></tr>
  20. <tr>
  21. <td width="411px" height="78px">
  22. <img src="/themes/retro/gfx/top2.gif">
  23. </td>
  24. <td width="393px" height="78px" class="projekt">
  25. s
  26. </td>
  27.  
  28. ';
  29.  
  30. }
  31. ?>


jednak klasa start i projekt jest ingonorowana (nie pokazuje obrysu i tla)

  1. TD.start (
  2.  
  3. Border-top: 1px solid #000000;
  4.  
  5. )
  6.  
  7.  
  8. TD.projekt (
  9.  
  10. Background-image: URL('/gfx/top3.gif');
  11.  
  12. )


moze wy cos na to poradzicie?

Ten post edytował Kamils2 2.02.2007, 20:17:31
Go to the top of the page
+Quote Post
kossa
post 2.02.2007, 20:21:43
Post #2





Grupa: Zarejestrowani
Postów: 1 165
Pomógł: 9
Dołączył: 9.04.2002
Skąd: Toruń

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


Cytat
echo '<LINK rel=stylesheet href="/themes/retro/style.css" type="text/css">';


  1. <?php
  2. echo "<link rel="stylesheet" href="style.css" type="text/css">";
  3. ?>


Łukasz


--------------------
Go to the top of the page
+Quote Post
Kamils2
post 2.02.2007, 20:28:32
Post #3





Grupa: Zarejestrowani
Postów: 158
Pomógł: 0
Dołączył: 13.09.2006
Skąd: Puławy

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


podmienilem na ten kod co mi podales ale nadal nie dziala O_o
Go to the top of the page
+Quote Post
lopik
post 3.02.2007, 01:12:13
Post #4





Grupa: Zarejestrowani
Postów: 340
Pomógł: 0
Dołączył: 7.07.2006

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


  1. <?php
  2. echo "<link rel="stylesheet" href="../themes/retro/style.css" type="text/css">";
  3. ?>


Gdzie masz index.php ?
Bo nie łapie tych folderów ;/

Ten post edytował lopik 3.02.2007, 01:12:51


--------------------
w3c & c++
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: 16.06.2025 - 19:22