Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Strona się rozsypała
-ksersiński-
post
Post #1





Goście







Witam. Tworzyłem własną stronę na komputerze z najnowszymi wersjami przeglądarek Mozilla & IE. Robiłem to na localhoscie przez WebServa. Strona wyglądała wtedy dobrze, nic się nie sypało, a gdy wrzuciłem ją na konto www wyglada tak:

http://www.tibiatool.pl/beta/

Czy ktoś może mi powiedzieć z czego to wynika?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-ksersiński-
post
Post #2





Goście







ARKUSZ CSS:

  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5.  
  6. a {color: #682;}
  7.  
  8. a:hover {color: #9A6;}
  9.  
  10. body {
  11. background: #333 url(img/bg.jpg);
  12. color: #333;
  13. font: normal 62.5% "Lucida Sans Unicode",sans-serif;
  14. }
  15.  
  16. p,ul {
  17. padding-bottom: 1em;
  18. }
  19.  
  20. ul {margin-left: 1.2em; color:#333333}
  21.  
  22. li {list-style: none;}
  23. .main li {list-style-image: url(img/li.gif);}
  24.  
  25. h1 {font-size: 5px; font-family: Tahoma, Verdana; }
  26.  
  27. blockquote {
  28. background: #FFF;
  29. border-bottom: 1px solid #EEE;
  30. border-top: 1px solid #EEE;
  31. color: #333;
  32. display: block;
  33. font-size: 0.9em;
  34. margin-bottom: 1.2em;
  35. padding: 6px 12px;
  36. }
  37. blockquote p {padding: 3px 0;}
  38.  
  39. h1,h2,h3 {color: #994;}
  40.  
  41. /* misc */
  42. .clearer {clear: both;}
  43. .main_right .padded {padding: 6px 2px 6px 16px;}
  44. .main .padded {padding: 18px 24px;}
  45. .meta {font-size: 0.8em; color: #666;}
  46. .left {float: left;}
  47. .right {float: right;}
  48.  
  49. /* structure */
  50. .container {
  51. font-size: 1.2em;
  52. background: url(img/bgcontainer.gif) repeat-y;
  53. margin: 0 auto;
  54. width: 942px;
  55. BORDER-RIGHT: #222222 0px solid;
  56. BORDER-TOP: #222222 12px solid;
  57. BORDER-LEFT: #222222 12px solid;
  58. BORDER-BOTTOM: #222222 12px solid
  59. }
  60. .location {
  61. margin-left: 170px;
  62. font-size: 9px;
  63. }
  64.  
  65. /* header */
  66. .header {
  67. float: left;
  68. width: 942px;
  69. background: url(img/header.jpg) no-repeat;
  70. font: normal 2.4em Verdana,sans-serif;
  71. line-height: 150px;
  72. text-align: center;
  73. }
  74.  
  75. /* structure */
  76. .main {
  77. float: left;
  78. width: 580px;
  79. color: #333333;
  80. }
  81. .main_right {
  82. float: right;
  83. width: 250px; /* szerokosc bocznego menu (ze statystykami, itd) */
  84. color: #CCC;
  85. }
  86.  
  87. /* footer */
  88. .footer {
  89. background: url(img/bgfooter.gif) repeat-x;
  90. color: #CCC;
  91. font-size: 0.9em;
  92. line-height: 39px;
  93. width: 100%;
  94. text-align: center;
  95. }
  96. .footer .left,.footer .right {padding: 0 16px;}
  97. .footer a {color: #EEE;}
  98. .footer a:hover {color: #FAFCB0;}
  99. .topstyl
  100. {
  101. color: #FFFFFF;
  102. font-family: Tahoma, Verdana;
  103. font-size: 11px;
  104. }
  105.  
  106. /***********************
  107. *** Top Navigation ***
  108. ***********************/
  109. ul#navigation
  110. {
  111. height: 20px;
  112. width: auto;
  113. float: right;
  114. padding: 5px 0 0 0;
  115. margin: 0;
  116. }
  117. ul#navigation li a
  118. {
  119. display: block;
  120. float: left;
  121. margin: 0 0 0 4px;
  122. height: 24px;
  123. background: #252525;
  124. color: #fff;
  125. font-size: 10px;
  126. font-weight: bold;
  127. text-decoration: none;
  128. text-align: center;
  129. background: #252525 url('img/staticmleft.gif') no-repeat left;
  130. }
  131. ul#navigation li
  132. {
  133. display: inline;
  134. }
  135. ul#navigation li a span
  136. {
  137. padding: 6px 5px 0 5px;
  138. height: 18px;
  139. display: block;
  140. float: left;
  141. }
  142. ul#navigation li a:hover
  143. {
  144. background: #fff url('img/navigation-bg-right.png') no-repeat right;
  145. color: #000;
  146. border: 1px sold;
  147. }
  148.  
  149. ul#navigation li a:hover span
  150. {
  151. background: transparent url('img/navigation-bg-left.png') no-repeat left;
  152. color: #000;
  153. }
  154. pole
  155. {
  156. margin-top: 20px;
  157. }
  158.  
  159. /* import z nowego stylu */
  160.  
  161. img {
  162. border: none;
  163. }
  164.  
  165. #rama {
  166. width: 996px;
  167. margin: 0 auto;
  168. text-align: left;
  169. }
  170.  
  171. #menu {
  172. width: 947px;
  173. height: 56px;
  174. float: left;
  175. }
  176.  
  177. #menu a {
  178. float: left;
  179. margin: 0;
  180. padding: 0;
  181. }
  182.  
  183. .a1{
  184. background: transparent url(img/t_04.jpg) 0px 0px no-repeat;
  185. width: 160px;
  186. height: 56px;
  187. }
  188. .a1:hover{
  189. background: transparent url(img/t2_04.jpg) 0px 0px no-repeat;
  190. width: 160px;
  191. height: 56px;
  192. }
  193.  
  194. .a2{
  195. background: transparent url(img/t_05.jpg) 0px 0px no-repeat;
  196. width: 94px;
  197. height: 56px;
  198. }
  199. .a2:hover{
  200. background: transparent url(img/t2_05.jpg) 0px 0px no-repeat;
  201. width: 94px;
  202. height: 56px;
  203. }
  204.  
  205. .a3{
  206. background: transparent url(img/t_06.jpg) 0px 0px no-repeat;
  207. width: 104px;
  208. height: 56px;
  209. }
  210. .a3:hover{
  211. background: transparent url(img/t2_06.jpg) 0px 0px no-repeat;
  212. width: 104px;
  213. height: 56px;
  214. }
  215.  
  216. .a4{
  217. background: transparent url(img/t_07.jpg) 0px 0px no-repeat;
  218. width: 113px;
  219. height: 56px;
  220. }
  221. .a4:hover{
  222. background: transparent url(img/t2_07.jpg) 0px 0px no-repeat;
  223. width: 113px;
  224. height: 56px;
  225. }
  226.  
  227. .a5{
  228. background: transparent url(img/t_08.jpg) 0px 0px no-repeat;
  229. width: 114px;
  230. height: 56px;
  231. }
  232. .a5:hover{
  233. background: transparent url(img/t2_08.jpg) 0px 0px no-repeat;
  234. width: 114px;
  235. height: 56px;
  236. }
  237.  
  238. .a6{
  239. background: transparent url(img/t_09.jpg) 0px 0px no-repeat;
  240. width: 97px;
  241. height: 56px;
  242. }
  243. .a6:hover{
  244. background: transparent url(img/t2_09.jpg) 0px 0px no-repeat;
  245. width: 97px;
  246. height: 56px;
  247. }
  248.  
  249. .a7{
  250. background: transparent url(img/t_10.jpg) 0px 0px no-repeat;
  251. width: 121px;
  252. height: 56px;
  253. }
  254. .a7:hover{
  255. background: transparent url(img/t2_10.jpg) 0px 0px no-repeat;
  256. width: 121px;
  257. height: 56px;
  258. }
  259.  
  260. .a8{
  261. background: transparent url(img/t_11.jpg) 0px 0px no-repeat;
  262. width: 137px;
  263. height: 56px;
  264. }
  265. .a8:hover{
  266. background: transparent url(img/t2_11.jpg) 0px 0px no-repeat;
  267. width: 137px;
  268. height: 56px;
  269. }
  270.  
  271. #statystyki {
  272. background: transparent url(img/t_13.jpg) 0px 0px no-repeat;
  273. width: 207px;
  274. height: 115px;
  275. float: left;
  276. padding-top: 35px;
  277. padding-left: 15px;
  278. line-height: 16px;
  279. }
  280.  
  281. .bez {
  282. color: #e2cb92;
  283. }
  284.  
  285. .orange {
  286. color: #dd7d20;
  287. font-weight: bold;
  288. }
  289.  
  290. #na_forum img {
  291. vertical-align: middle;
  292. margin-right: 5px;
  293. }
  294.  
  295. #na_forum {
  296. background: transparent url(img/t_14.jpg) 0px 0px no-repeat;
  297. width: 490px;
  298. height: 110px;
  299. float: left;
  300. padding-top: 40px;
  301. line-height: 20px;
  302. padding-left: 20px;
  303. font-family: Tahoma, Verdana;
  304. font-size: 11px;
  305. }
  306.  
  307. #logowanie {
  308. background: transparent url(img/t_15.jpg) 0px 0px no-repeat;
  309. width: 175px;
  310. height: 100px;
  311. float: left;
  312. padding-top: 50px;
  313. padding-left: 40px;
  314. }
  315.  
  316. input {
  317. background: transparent url(img/t_52.jpg) 0px 0px no-repeat;
  318. float: left;
  319. border: none;
  320. display: block;
  321. margin-bottom: 5px;
  322. color: #fff;
  323. }
  324.  
  325. .zaloguj {
  326. float: right;
  327. margin-right: 30px;
  328. margin-top: 10px;
  329. }
  330.  
  331. #menu_left {
  332. float:left;
  333. }
  334.  
  335. #top {
  336. background: transparent url(img/header4.jpg) 0px 0px no-repeat;
  337. width: 976px;
  338. height: 144px;
  339. float: left;
  340. }
  341.  
  342. /* boczne nfo */
  343.  
  344. #prawa {
  345. width: 190px;
  346. float: left;
  347. }
  348.  
  349. .m2_top {
  350. background: transparent url(img/t_20.jpg) 0px 0px no-repeat;
  351. width: 190px;
  352. height: 29px;
  353. display: block;
  354. text-align: center;
  355. font-weight: bold;
  356. padding-top: 30px;
  357. }
  358.  
  359. .m2_content {
  360. background: transparent url(img/t_25.jpg) 0px 0px repeat-y;
  361. width: 174px;
  362. display: block;
  363. float: left;
  364. margin-left: -1px;
  365. padding: 5px 25px 0px 25px;
  366. }
  367.  
  368. .m2_end {
  369. background: transparent url(img/t_29.jpg) 0px 0px no-repeat;
  370. width: 190px;
  371. height: 31px;
  372. float: left;
  373. margin-left: -1px;
  374. }
Go to the top of the page
+Quote Post

Posty w temacie
- ksersiński   [HTML][CSS]Strona się rozsypała   3.08.2008, 19:41:10
- - TroYan   powrzucaj kody, dlaczego innym każesz grzebać i sz...   3.08.2008, 20:23:26
- - ksersiński   ARKUSZ CSS: [HTML] pobierz, plaintext * { margin:...   4.08.2008, 11:07:50
- - ksersiński   KOD STRONY: [HTML] pobierz, plaintext <!DOCTYPE...   4.08.2008, 11:09:49
- - ksersiński   [HTML] pobierz, plaintext <!-- pasek po prawej ...   4.08.2008, 11:10:55
- - wjkbdg   Siemanko, kod twojej strony, zarówno HTML i CSS j...   4.08.2008, 12:43:14
- - ksersiński   Dzięki kolego, na prawdę to dla mnie wielka pomoc ...   5.08.2008, 23:47:09


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: 13.06.2026 - 19:04