Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem ze smarty i css
-Vanx-
post 1.07.2005, 09:55:24
Post #1





Goście







Używam smarty i zrobiłem plik style.css w którym dałem to:
  1. * {
  2. color: gold;
  3. font-family: verdana;
  4. font-size: 10px;
  5. }
  6. .td {
  7. border-top: solid black 1px;
  8. border-bottom: solid black 1px;
  9. border-left: solid black 1px;
  10. border-right: solid black 1px;
  11. color: gold;
  12. }
  13. input, textarea, select {
  14. color: gold;
  15. background: black;
  16. border: solid gray 1px;
  17. }
  18. a {
  19. text-decoration: none;
  20. text-transform: none;
  21. color: gold;
  22. }
  23. a:hover {
  24. text-decoration: none;
  25. text-transform: none;
  26. color: red;
  27. }
  28. body {
  29. background: black;
  30. }
  31. body, iframe, select, textarea {
  32. scrollbar-face-color: black;
  33. scrollbar-highlight-color: gray;
  34. scrollbar-shadow-color: gray;
  35. scrollbar-3dlight-color: black;
  36. scrollbar-arrow-color: gray;
  37. scrollbar-track-color: black;
  38. scrollbar-darkshadow-color: black;
  39. scrollbar-base-color: black;
  40. }

w pliku header.tpl mam to:
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <TITLE>{$title}</TITLE>
  3. <link rel="stylesheet" href="style.css" type="text/css">
  4. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
  5. <META HTTP-EQUIV="Content-Language" CONTENT="pl">
  6. </HEAD>

i w pliku rejestracja.tpl mam to:
  1. {include file="header.tpl"}
  2. </head>{if $Action == ""}
  3.        <form method=post action=rejestracja.php?action=register>
  4.     <table border="1" align="center" width="766">
  5.     <tr><td>Pseudonim:</td><td><input type="text" name="user"></td></tr>
  6.     <tr><td>Email:</td><td><input type="text" name="email"></td></tr>
  7.       <tr><td>GG:</td><td><input type="text" name="gg"></td></tr>
  8.       <tr><td>Hasło:</td><td><input type="password" name="pass"></td></tr>
  9.     <tr><td>Powtórz Hasło:</td><td><input type="password" name="vepass"></td></tr>
  10.             <tr><td colspan=2 align="center"><input type="submit" value="Zarejestruj"></td></tr>
  11.     </form>
  12. {/if}
  13. {if $Action == "register"}
  14.     </td></tr></table><center><br><br>Jeste już zarejestrowany.br><br>
  15. {/if}

i gdy wchodzę na stronę to napisy są czarne tak jak tło i ich nie widać
a wpliku css ustawiłem na złoty. Gdzie popełniłem błąd??
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Vanx
post 8.07.2005, 09:38:02
Post #2





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 3.07.2005

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


Poradziłem sobie już z tym biggrin.gif ale teraz mam kolejny problem otóż gdy loguję się na swojej stronie to wyskakuje mi to Screen
jak się tego pozbyć??prubowałem usunąć debug.tpl ale wtedy smarty nie działał sad.gif
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: 14.08.2025 - 20:08