Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]Przesuwający się header oraz footer przy zmianie rozdzielczości
krzesik
post
Post #1





Grupa: Zarejestrowani
Postów: 516
Pomógł: 1
Dołączył: 25.08.2012

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


Witam, mam problem przy zmianie rozdzielczości z serwisem, przesuwa mi się się nagłówek oraz stopka w prawo (tak jakby zachowywały nadar zadany margines) nie mogę tego znaleść w css, pomocy.
  1. .header
  2. {
  3. height:140px;
  4. background:url('head.png') no-repeat;
  5. width:1200px;
  6. margin:auto;
  7. margin-top:10px;
  8. display:block;
  9. }
  10. .header span
  11. {
  12. display:block;
  13. font-size:70px;
  14. font-family:Arial, Helvetica, sans-serif;
  15. color:#ffffff;
  16. padding-top:25px;
  17. margin-left:50px;
  18. }
  19. .foot
  20. {
  21. width:1200px;
  22. margin:auto;
  23. margin-bottom:30px;
  24. text-align:left;
  25. font-size:12px;
  26. color:#ffffff;
  27. height:89px;
  28. padding-left:50px;
  29. padding-top:25px;
  30. background:url('foot.png') no-repeat center;
  31. }
  32. .foot a,.foot
  33. {
  34. color:#cccccc;
  35. }
  36. .foot:hover a,.foot:hover
  37. {
  38. color:#dddddd;
  39.  
  40. }
  41. .foot a:hover
  42. {
  43. color:#ffffff;
  44. margin-left:50px;
  45. }
  46. body
  47. {
  48. background:#000000 url('bg.jpg') top center no-repeat fixed;
  49. font-family:Verdana, Geneva, sans-serif;
  50. margin:0px;
  51. padding:0px;
  52. }
  53.  
Go to the top of the page
+Quote Post

Posty w temacie


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: 15.09.2025 - 10:46