Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Problem z layem
Forum PHP.pl > Forum > Po stronie przeglądarki > HTML \ XHTML
sajborg
Siemka mam problem tworze nowy serwis mam juz lay ale mam problem photoshop tak go pociol i wygenerowal www ze mam teraz problem bo nie moge rozciagać strony w dół. I zmieniac rozmiarów menu. Chciałem zebyscie jak mozecie poprawili html. Podam tu go ale nie podam obrazków bo zdradze serwis i dam za darmo komus lay.
  1. <HTML>
  2. <HEAD>
  3. <TITLE>xxx</TITLE>
  4. <link href="styl.css" type="text/css" rel="STYLESHEET">
  5. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-2" />
  6. </HEAD>
  7. <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  8.  
  9. <table width="750" border=0 cellpadding=0 cellspacing=0>
  10. <tr>
  11. <td colspan=8>
  12. <IMG height=14 src="images/lay3_01.gif" width=426></td>
  13. <td>
  14. <A href="index.php"><IMG height=14 src="images/lay3_02.gif" width=87 border=0></A></td>
  15. <td colspan=2>
  16. <A href="index.php"><IMG height=14 src="images/lay3_03.gif" width=41 border=0></A></td>
  17. <td colspan=2>
  18. <A href="reklama.php"><IMG height=14 src="images/lay3_04.gif" width=55 border=0></A></td>
  19. <td>
  20. <IMG height=14 src="images/lay3_05.gif" width=73></td>
  21. <td colspan=2>
  22. <IMG height=14 src="images/lay3_06.gif" width=55></td>
  23. <td rowspan=20>
  24. <IMG height=900 src="images/lay3_07.gif" width=13></td>
  25. <td>
  26. <IMG height=14 src="images/spacer.gif" width=1></td>
  27. </tr>
  28. <tr>
  29. <td colspan=16>
  30. <IMG height=39 src="images/lay3_08.gif" width=737></td>
  31. <td>
  32. <IMG height=39 src="images/spacer.gif" width=1></td>
  33. </tr>
  34. <tr>
  35. <td colspan=5 rowspan=2 width="326" height="51">
  36. <IMG height=51 src="images/lay3_09.gif" width=326></td>
  37. <td colspan="10"><?baner('SMALL');?></td>
  38. <td rowspan=2>
  39. <IMG height=51 src="images/lay3_11.gif" width=11></td>
  40. <td>
  41. <IMG height=50 src="images/spacer.gif" width=1></td>
  42. </tr>
  43. <TR>
  44. <TD COLSPAN=10>
  45. <IMG height=1 src="images/lay3_12.gif" width=400 ></TD>
  46. <TD>
  47. <IMG height=1 src="images/spacer.gif" width=1 ></TD>
  48. </TR>
  49. <TR>
  50. <TD COLSPAN=16>
  51. <IMG height=44 src="images/lay3_13.gif" width=737 ></TD>
  52. <TD>
  53. <IMG height=44 src="images/spacer.gif" width=1 ></TD>
  54. </TR>
  55. <TR>
  56. <TD COLSPAN=6 background="images/lay3_14.gif" width="335" height="22">
  57.  
  58. </TD>
  59. <TD COLSPAN=10>
  60. <IMG height=22 src="images/lay3_15.gif" width=402 ></TD>
  61. <TD>
  62. <IMG height=22 src="images/spacer.gif" width=1 ></TD>
  63. </TR>
  64. <TR>
  65. <TD COLSPAN=16>
  66. <IMG height=7 src="images/lay3_16.gif" width=737 ></TD>
  67. <TD>
  68. <IMG height=7 src="images/spacer.gif" width=1 ></TD>
  69. </TR>
  70. <TR>
  71. <TD>
  72. <IMG height=25 src="images/lay3_17.gif" width=11 ></TD>
  73. <TD background="images/lay2_18.gif" width="176" height="25">
  74. <center><span class="menu">xxx</span></center></TD>
  75. <TD COLSPAN=10 ROWSPAN=10 width="374" height="664" background="images/lay2_24.gif" valign=top>
  76. SRODEK
  77. </TD>
  78. <td colspan=4 background="images/lay2_20.gif" width="176" height="25">
  79. <center><span class="menu">Na forum</span></center></td>
  80. <TD>
  81. <IMG height=25 src="images/spacer.gif" width=1 ></TD>
  82. </TR>
  83. <TR>
  84. <TD ROWSPAN=12>
  85. <IMG height=698 src="images/lay3_21.gif" width=11 ></TD>
  86. <TD ROWSPAN=2 bgcolor="#ebebeb" width="176" height="139" valign=top>
  87. menu
  88. </TD>
  89. <TD COLSPAN=4 bgcolor="#ebebeb" width="176" height="123" valign="top">
  90. top5
  91. </TD>
  92. <TD>
  93. <IMG height=123 src="images/spacer.gif" width=1 ></TD>
  94. </TR>
  95. <TR>
  96. <td colspan=4 background="images/lay2_20.gif" width="176" height="25" rowspan=2>
  97. <center><span class="menu">Najnowsze pliki</span></center></td>
  98. <TD>
  99. <IMG height=16 src="images/spacer.gif" width=1 ></TD>
  100. </TR>
  101. <TR>
  102. <td background="images/lay2_26.gif" width="176" height="25" rowspan=2>
  103. <center><span class=menu>xxxxxx</span></center>
  104. </td>
  105. <TD>
  106. <IMG height=9 src="images/spacer.gif" width=1 ></TD>
  107. </TR>
  108. <TR>
  109. <TD COLSPAN=4 ROWSPAN=2 bgcolor="#ebebeb" width="176" height="125">
  110. topdownoad
  111. </TD>
  112. <TD>
  113. <IMG height=16 src="images/spacer.gif" width=1 ></TD>
  114. </TR>
  115. <TR>
  116. <TD ROWSPAN=3 bgcolor="#ebebeb" width="176" height="155" valign="top">
  117. menu 2
  118. </TD>
  119. <TD>
  120. <IMG height=109 src="images/spacer.gif" width=1></TD>
  121. </TR>
  122. <TR>
  123. <td colspan=4 background="images/lay2_20.gif" width="176" height="25">
  124. <center><span class="menu">Kto jest na forum</span></center></td>
  125. <TD>
  126. <IMG height=25 src="images/spacer.gif" width=1></TD>
  127. </TR>
  128. <TR>
  129. <TD COLSPAN=4 ROWSPAN=3 bgcolor="#ebebeb" width="176" height="341" valign=top>
  130. user online
  131. </TD>
  132. <TD>
  133. <IMG height=21 src="images/spacer.gif" width=1 ></TD>
  134. </TR>
  135. <TR>
  136. <TD>
  137. <IMG height=25 src="images/lay3_30.gif" width=176 ></TD>
  138. <TD>
  139. <IMG height=25 src="images/spacer.gif" width=1 ></TD>
  140. </TR>
  141. <TR>
  142. <TD bgcolor="#ebebeb" width="176" height="295">
  143.  
  144. </TD>
  145. <TD>
  146. <IMG height=295 src="images/spacer.gif" width=1 ></TD>
  147. </TR>
  148. <TR>
  149. <TD COLSPAN=15>
  150. <IMG height=2 src="images/lay3_32.gif" width=726 ></TD>
  151. <TD>
  152. <IMG height=2 src="images/spacer.gif" width=1 ></TD>
  153. </TR>
  154. <TR>
  155. <TD COLSPAN=2>
  156. <IMG height=42 src="images/lay3_33.gif" width=216 ></TD>
  157. <TD>
  158. <IMG height=42 src="images/lay3_34.gif" width=98 ></TD>
  159. <TD COLSPAN=3>
  160. <IMG height=42 src="images/lay3_35.gif" width=98 ></TD>
  161. <TD COLSPAN=3>
  162. <IMG height=42 src="images/lay3_36.gif" width=103 ></TD>
  163. <TD COLSPAN=6>
  164. <IMG height=42 src="images/lay3_37.gif" width=211 ></TD>
  165. <TD>
  166. <IMG height=42 src="images/spacer.gif" width=1 ></TD>
  167. </TR>
  168. <TR>
  169. <TD COLSPAN=15>
  170. <IMG height=15 src="images/lay3_38.gif" width=726 ></TD>
  171. <TD>
  172. <IMG height=15 src="images/spacer.gif" width=1 ></TD>
  173. </TR>
  174. <TR>
  175. <TD>
  176. <IMG height=1 src="images/spacer.gif" width=11 ></TD>
  177. <TD>
  178. <IMG height=1 src="images/spacer.gif" width=176 ></TD>
  179. <TD>
  180. <IMG height=1 src="images/spacer.gif" width=40 ></TD>
  181. <TD>
  182. <IMG height=1 src="images/spacer.gif" width=98 ></TD>
  183. <TD>
  184. <IMG height=1 src="images/spacer.gif" width=1 ></TD>
  185. <TD>
  186. <IMG height=1 src="images/spacer.gif" width=9 ></TD>
  187. <TD>
  188. <IMG height=1 src="images/spacer.gif" width=88 ></TD>
  189. <TD>
  190. <IMG height=1 src="images/spacer.gif" width=3 ></TD>
  191. <TD>
  192. <IMG height=1 src="images/spacer.gif" width=87 ></TD>
  193. <TD>
  194. <IMG height=1 src="images/spacer.gif" width=13 ></TD>
  195. <TD>
  196. <IMG height=1 src="images/spacer.gif" width=28 ></TD>
  197. <TD>
  198. <IMG height=1 src="images/spacer.gif" width=7 ></TD>
  199. <TD>
  200. <IMG height=1 src="images/spacer.gif" width=48 ></TD>
  201. <TD>
  202. <IMG height=1 src="images/spacer.gif" width=73 ></TD>
  203. <TD>
  204. <IMG height=1 src="images/spacer.gif" width=44 ></TD>
  205. <TD>
  206. <IMG height=1 src="images/spacer.gif" width=11 ></TD>
  207. <TD>
  208. <IMG height=1 src="images/spacer.gif" width=13 ></TD>
  209. <TD></TD>
  210. </TR>
  211. </table>
  212. </center>
  213. </BODY>
  214. </HTML>


I chodzi o to zeby srodek mogl sie rozciagac w dol razem z ostatnimi lokami menu. I zebym mogl ustalac wysokosc bloków.I jesli będzie mozna to zebym mogl wylaczac bloku prawy i lewy. Ja juz nie mam siły robie a to mi sie rozwala :] jak ja nie lubie html i tabelek :]
fones
Zamiesc tą strone gdzies na serwerze, z plikami graficznymi wlacznie... wtedy pogadamy... za duzo smieci tam jest ;(

P.S. Nie martw sie Photoshop tez nie lubi HTML'a... nie lubi i nie umie smile.gif

pozdro
sajborg
Zamieszcze ale narazie robie od nowa całośc. Znaczy sie tylko ułożenie tego :] Juz prawie zrobiłem cieżko sie robie tabelki nie mając edytora graficznego ale jakoś daje rade zaraz skoncze moze sie uda :]
fones
Cytat(paweb @ 2004-08-07 14:22:07)
... cieżko sie robie tabelki nie mając edytora graficznego ale jakoś daje rade zaraz skoncze moze sie uda :]

wszytko sie robi w wyobrazni... po to sie ją ma... edytor graficzny laugh.gif

pozdro guitar.gif
sajborg
Nie miałem na mysli edytora graficznego tylko edytora html w czasie rzeczywistym :]
fones
aaa.... chyba ze tak ;pppppp

pozdro guitar.gif
cim
ja robiąc layout`y korzystam z CSS`ów... dajesz np. taki kod:

Kod
<td style="background-color: url('tlo.gif'); background-repeat: repeat-y; width: XXXpx;">zawartość tabelki</td>


i taki kodzik umieści w tle komórki tabelki plik 'tlo.gif' i będzie go powtarzał w pionie przez całą komórke bez względu czy będzie ona miała wysokość jednego pliku graficznego czy 100...
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.