Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML] ułozenie diva obok siebie
Sebastian003
post
Post #1





Grupa: Zarejestrowani
Postów: 282
Pomógł: 2
Dołączył: 22.03.2007

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


Witam !

mam problem z ułożeniem diva

widok projektu: http://webpc.vdl.pl

chodzi mi zeby te divy były obok siebie, bo na stronie widac ze jeden na gorze drugi na dole.

oto kod

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
  3. <title>test</title>
  4. body {
  5. margin : 0;
  6. font-family : Verdana, Arial;
  7. font-size : 1px;
  8. background: url('images/pg.png') repeat-x;
  9. background-color: #00496F;
  10. }
  11. a:link, a:visited {
  12. text-decoration : none;
  13. color : #191919;
  14. }
  15. a:active, a:hover {
  16. text-decoration : none;
  17. color : #49A201;
  18. }
  19. #top {
  20. height:176px;
  21. width:924px;
  22. background:url(images/top.png);
  23. }
  24. #lew {
  25. height:35px;
  26. width:10px;
  27. background:url(images/lew.png);
  28. float : left;
  29. }
  30. #pra {
  31. height:35px;
  32. width:10px;
  33. background:url(images/pra.png);
  34. float : left;
  35. }
  36. #wa {
  37. height:33px;
  38. width:185px;
  39. background:url(images/wa.png);
  40. }
  41. #wb {
  42. width:185px;
  43. background:url(images/wb.png);
  44. }
  45. #wc {
  46. height:10px;
  47. width:185px;
  48. background:url(images/wc.png);
  49. }
  50. #cen {
  51. height:35px;
  52. width:904px;
  53. background:url(images/cen.png);
  54. float : left;
  55. line-height:310%;
  56. text-indent:15px;
  57. }
  58. #px {
  59. height:10px;
  60. width:924px;
  61. background:url(images/px.png);
  62. }
  63. #reklama {
  64. height:90px;
  65. width:728px;
  66. background:url(images/reklama.png);
  67. float : right;
  68. }
  69. #srodek {
  70. margin : 0 auto;
  71. width : 924px;
  72. }
  73. #id {
  74. float: left;
  75. }
  76. </head>
  77. <div id="srodek">
  78. <div id="top"></div>
  79. <div style="clear: both;" />
  80. <div id="lew"></div>
  81. <div id="cen"></div>
  82. <div id="pra"></div>
  83. <div style="clear: both;" />
  84. <div id="px"></div>
  85. <div id="wa"></div>
  86. <div id="wb">
  87. <br /><br /><br /><br />
  88. <img border="0" src="images/szukajg.png" width="142" height="17">
  89. <br /><br /><br /><br /><br /><br /><br />
  90. <img border="0" src="images/szukaj.png" width="60" height="23">
  91. <br />
  92. </div>
  93. <div id="wc"></div>
  94. <div id="float">
  95. <div id="reklama"></div>
  96. </div>
  97. </body>
  98. </html>
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 Aktualny czas: 19.08.2025 - 06:55