Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS][HTML]Problemy z kodowaniem strony.
Ulysess
post
Post #1





Grupa: Zarejestrowani
Postów: 695
Pomógł: 65
Dołączył: 27.07.2009
Skąd: Y

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


witam , dla mojej strony został zrobiony layout , layout jest pocięty ale zupełnie nie wiem jak się wziąć najlepiej za kodowanie tego..
Layout wygląda tak:
http://www.kalahir.pl/l.jpg

u siebie mam rozdzielczość 1680 na 1050 i wygląda ok ale standard to chyba 1024 na 768 i tu pojawia się problem otóż własnie na 1024 obrazek wychodzi w bok i pojawia się skrol boczny... co w takiej sytuacji mam zrobić ? css coś wskóram (IMG:style_emoticons/default/questionmark.gif) bo na to że grafik poprawi bym nie liczył...

tlo mam oddzielne i wygląda tak - http://www.kalahir.pl/tlo.jpg
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Ulysess
post
Post #2





Grupa: Zarejestrowani
Postów: 695
Pomógł: 65
Dołączył: 27.07.2009
Skąd: Y

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


mam problem z poprawnym wstawieniem tego obramowania na moją strone -> http://qoooq.pl/graphics/ramka_03.png

kod strony wygląda następująco:

  1. <div class="logo"></div>
  2.  
  3. <div class="main">
  4. <div class="top">
  5. <div class="top_l"></div>
  6. <div class="top_r"></div>
  7. </div>
  8.  
  9. <div class="panel">
  10. <div class="panel_l"></div>
  11. <div class="panel_c"></div>
  12. <div class="panel_r"></div>
  13. </div>
  14. <div class="content">
  15. <div class="up">Górna Ramka
  16. <div class="left_frame"></div>
  17. <div class="kernel">Treść strony</div>
  18. <div class="right_frame"></div>
  19. </div>
  20. <div class="rock"></div>
  21. <div class="menu">Menu</div>
  22. </div>
  23.  
  24. </div>


  1. html,body
  2. {
  3. width: 100%;
  4. height:100%;
  5. margin: 0px auto;
  6. padding: 0px;
  7. font-size: 11px;
  8. font-family: Tahoma;
  9. color: #CDCBAD;
  10. text-align: center;
  11. background-position: center;
  12. background:url(graphics/tlo3.jpg) top no-repeat;
  13. background-color: #000000;
  14. border: 0px solid red;
  15. overflow:auto;
  16. }
  17.  
  18. div.main
  19. {
  20. border: 0px solid red;
  21. margin: 0px auto;
  22. width: 1004px;
  23. position: relative;
  24. overflow:hidden;
  25. // background-color: #000000;
  26. }
  27.  
  28. div.logo
  29. {
  30. margin: 0px auto;
  31. height: 128px;
  32. width: 390px;
  33. background-image: url(graphics/img_02.png);
  34. background-repeat: no-repeat;
  35. }
  36.  
  37. div.top
  38. {
  39. margin: 0px auto;
  40. width: 960px;
  41. height: 72px;
  42. background-repeat: no-repeat;
  43. }
  44.  
  45. div.top_l
  46. {
  47. float: left;
  48. width: 46px;
  49. height: 72px;
  50. position: absolute;
  51. background-image: url(graphics/img_05.png);
  52. background-repeat: no-repeat;
  53. }
  54.  
  55. div.top_r
  56. {
  57. float: left;
  58. width: 994px;
  59. height: 72px;
  60. background-image: url(graphics/img_06.png);
  61. background-repeat: no-repeat;
  62. }
  63.  
  64. div.panel
  65. {
  66. margin: 0px auto;
  67. width: 960px;
  68. // height: 228px;
  69. height: 248px;
  70. background-position: center;
  71. }
  72.  
  73. div.panel_l
  74. {
  75. float: left;
  76. width: 374px;
  77. height: 228px;
  78. background-image: url(graphics/img_08.png);
  79. background-repeat: no-repeat;
  80. }
  81.  
  82. div.panel_c
  83. {
  84. float: left;
  85. background-image: url(graphics/img_10.png);
  86. background-repeat: repeat-x;
  87. height: 228px;
  88. width: 212px;
  89. background-color: white;
  90. }
  91.  
  92. div.panel_r
  93. {
  94. float: left;
  95. width: 374px;
  96. height: 228px;
  97. background-image: url(graphics/img_12.png);
  98. background-repeat: no-repeat;
  99. }
  100.  
  101. div.tresc
  102. {
  103. float: left;
  104. margin: 0px auto;
  105. width: 960px;
  106. height: 800px;
  107. background-position: center;
  108. }
  109.  
  110. div.content
  111. {
  112. margin: 0px auto;
  113. width: 960px;
  114. height: 1900px;
  115. // background-position: center;
  116. }
  117.  
  118. div.left_frame
  119. {
  120. float: left;
  121. width: 6px;
  122. height: 324px;
  123. background-image: url(graphics/ramka_01.png);
  124. background-repeat: repeat-y;
  125. }
  126.  
  127. div.kernel
  128. {
  129. // background:url(graphics/ramka_03.png) top no-repeat;
  130. float: left;
  131. width: 718px;
  132. height: 348px;
  133. background-image: url(graphics/img_21.png);
  134. background-repeat: repeat-y;
  135. text-align: justify;
  136. // padding-top: 5px;
  137. // padding-left: 5px;
  138. // padding-right: 5px;
  139. // padding-bottom: 5px;
  140. // color: #663300;
  141. color: #000000;
  142. font-weight: bold;
  143. font-size: 15px;
  144. // font-family: Andele Mono;
  145. // font-family: fantasy;
  146. // font-family: Verdana;
  147. // font-family: Tahoma;
  148. font-family: Monotype Corsiva;
  149. }
  150.  
  151. div.right_frame
  152. {
  153. float: left;
  154. width: 6px;
  155. height: 324px;
  156. background-image: url(graphics/ramka_05.png);
  157. background-repeat: repeat-y;
  158. }
  159.  
  160. div.rock
  161. {
  162. float: left;
  163. width: 31px;
  164. height: 368px;
  165. background-image: url(graphics/img_23.png);
  166. background-repeat: repeat-y;
  167. background-color: #000000;
  168. }
  169.  
  170. div.menu
  171. {
  172. float: left;
  173. width: 199px;
  174. height: 199px;
  175. background-color: #000000;
  176. }
  177.  
  178. div.up
  179. {
  180. float: left;
  181. width: 730px;
  182. height: 10px;
  183. background-color: #000000;
  184. background-image: url(graphics/ramka_03.png);
  185. }
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: 8.10.2025 - 12:49