stupid menu...

  • ClericVash
  • Banned
  • Banned
  • User avatar
  • Posts: 65

Post 3+ Months Ago

http://www.corecoders.com/testing/index.php

Hi all im trying to redesign my site. Thats what it currently looks like but if you loof the left menu is right against the screen while the top bit is not?

And also the news menus are squashed against the left menu but not the right menu...?

Any help would be great thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Delete it and start from scratch. In all honesty I have no clue how that page even displays. You have a closing </html> in the middle of your code, you have multiple instances of <body>, no opening <html> tag, no Doctype declaration, 3 link references to your style sheet...too many errors to even begin to tell you how to fix it except to start from scratch. That page shouldn't display as it is right now. You're lucky it shows what it does.
  • ClericVash
  • Banned
  • Banned
  • User avatar
  • Posts: 65

Post 3+ Months Ago

Well ive changed it now i didnt realize that i could have the body and css tags in only one and not all. It should look normal now.

But it still doesnt fix my menu?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

It also helps confuse browsers. Let me guess, you're using phpNuke for that? I've seen it mess code up like that. Believe me when I tell you, that code is so messed up, it absolutely shouldn't work.

And I'm not wrong. Your style sheet is the same for each mod. It only needs to be referenced once in the document and it will work for all mods. I know what I'm talking about. It's impossible to fix your problem without rewriting the entire page. It is simply not structured the way an HTML document should be.
  • ClericVash
  • Banned
  • Banned
  • User avatar
  • Posts: 65

Post 3+ Months Ago

You need to read my post again i changed it almost straight after i made it.

And no i hate phpnuke it sucks this is my own work.

Still the menu is buggered.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

That's better, but here is a major problem:

Code: [ Select ]
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <!--DWLayoutTable-->
 <tr>
  <td colspan="3"><div align="center">
    <html>
<head>
<title>:: Core Coders ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
  1. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  2.  <!--DWLayoutTable-->
  3.  <tr>
  4.   <td colspan="3"><div align="center">
  5.     <html>
  6. <head>
  7. <title>:: Core Coders ::</title>
  8. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  9. <link rel="stylesheet" type="text/css" href="style.css">
  10. </head>


You can't have that table before the opening <html> tag.

The structure of the document should be:
Code: [ Select ]
<html>
<head>
<title>Include Title</title>
<!---insert any meta tags and CSS link somewhere here-->
</head>
<body>
<!----page content goes here, i.e. tables, etc...-->
</body>
</html>
  1. <html>
  2. <head>
  3. <title>Include Title</title>
  4. <!---insert any meta tags and CSS link somewhere here-->
  5. </head>
  6. <body>
  7. <!----page content goes here, i.e. tables, etc...-->
  8. </body>
  9. </html>


If that doesn't fix your menu problem, I'll take a look again after you've adjusted that table out of the top.

//edited -- just relooked and realized I didn't have the closing head tag in the example.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

This is how your final source code "should" look. I've verified with HTML Tidy, there are no errors in the code this way. However, I realize you're using includes, but if the final source code output comes close to this, it should fix your menu table problems:

Code: [ Select ]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>:: Core Coders ::</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td colspan="3">
<div align="center">
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td class="header">
<div align="center"><em><a href=
'http://www.corecoders.com/testing/index.php'>http://www.corecoders.com/testing/index.php</a></em></div>
</td>
</tr>
<tr>
<td class="header">
<div align="center"><img src="CoreCoders.jpg" width="395" height=
"88"></div>
</td>
</tr>
<tr>
<td class="header">
<div align="center"><a href="http://www.corecoders.com">Home</a>
| <a href="http://forum.corecoders.com">Forum</a></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="15%" height="18" valign="top">
<div align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10%" class="blocks"><strong>Menu</strong><br>
Home<br>
Forum<br>
<br>
<strong>Network</strong><br>
<a href="http://indocron.corecoders.com">Indocron</a><br>
<a href="http://dm.corecoders.com">Deathmatch</a><br>
<a href="http://topsite.corecoders.com">Topsite</a></td>
</tr>
</table>
</div>
</td>
<td width="70%" valign="top">
<div align="center">
<table cellpadding="1" cellspacing="0" border="1" width="100%">
<tr>
<td bgcolor="#011623"><a href=
'http://corecoders.com/forum/index.php?act=ST&f=1&t=86' target=
'_BLANK'>I'm Going Away</a> Posted: January 29,2004, 07:41:57
AM</td>
</tr>
<tr>
<td>Just a note to let you know I'm going away on a course for a
week this saturday. Paul is away, and Vash is having trouble with
internet access.<br>
<br>
This means that the Indocron bugs topic won't be updated by a
mod, so if you find a bug, just post it in the topic.<br>
<br>
And btw, I'll be back on the 7th February.<br>
----------------------<br>
<br>
Posted by <a href=
'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=9'>
Pinky</a>(<a href=
'http://corecoders.com/forum/index.php?showtopic=86' target=
'_BLANK'>Comments: 1</a>)</td>
</tr>
</table>
<br>
<br>
<table cellpadding="1" cellspacing="0" border="1" width="100%">
<tr>
<td bgcolor="#011623"><a href=
'http://corecoders.com/forum/index.php?act=ST&f=1&t=85' target=
'_BLANK'>Computer Problems</a> Posted: January 29,2004, 04:37:44
AM</td>
</tr>
<tr>
<td>Sorry for not being around and updating much. My home
cumputers internet is not working for some reason so i willnot be
around much.<br>
<br>
When i get back i will put the new online arcade up, do a new
round of deathmatch, add some new bits to indocron and hopefully
update the main site a bit.<br>
----------------------<br>
<br>
Posted by <a href=
'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
ClericVash</a>(<a href=
'http://corecoders.com/forum/index.php?showtopic=85' target=
'_BLANK'>Comments: 0</a>)</td>
</tr>
</table>
<br>
<br>
<table cellpadding="1" cellspacing="0" border="1" width="100%">
<tr>
<td bgcolor="#011623"><a href=
'http://corecoders.com/forum/index.php?act=ST&f=1&t=82' target=
'_BLANK'>Downtime</a> Posted: January 21,2004, 03:50:42 PM</td>
</tr>
<tr>
<td>Sorry for the recent downtime and site screwing up i could
not help any of it. My host is changing hard drives so its
screwing up.<br>
<br>
Ill try and bug them to get it sorted!<br>
----------------------<br>
<br>
Posted by <a href=
'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
ClericVash</a>(<a href=
'http://corecoders.com/forum/index.php?showtopic=82' target=
'_BLANK'>Comments: 0</a>)</td>
</tr>
</table>
<br>
<br>
<table cellpadding="1" cellspacing="0" border="1" width="100%">
<tr>
<td bgcolor="#011623"><a href=
'http://corecoders.com/forum/index.php?act=ST&f=1&t=77' target=
'_BLANK'>Annihilation</a> Posted: January 19,2004, 04:24:09
AM</td>
</tr>
<tr>
<td>Hi all a day or two ago i begun to make a new game for
windows called Annihilation.<br>
<br>
It is a real time strategy game. It will be in a similaire style
to games like commander &amp; conquer, red alert 2, terminal
orbit.<br>
<br>
I will also be making other games for windows too.<br>
<br>
More info soon!<br>
----------------------<br>
<br>
Posted by <a href=
'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
ClericVash</a>(<a href=
'http://corecoders.com/forum/index.php?showtopic=77' target=
'_BLANK'>Comments: 1</a>)</td>
</tr>
</table>
<br>
<br>
<table cellpadding="1" cellspacing="0" border="1" width="100%">
<tr>
<td bgcolor="#011623"><a href=
'http://corecoders.com/forum/index.php?act=ST&f=1&t=68' target=
'_BLANK'>Let Go Of Dm</a> Posted: January 14,2004, 10:50:43
AM</td>
</tr>
<tr>
<td>Please vote on what you think.<br>
----------------------<br>
<br>
Posted by <a href=
'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
ClericVash</a>(<a href=
'http://corecoders.com/forum/index.php?showtopic=68' target=
'_BLANK'>Comments: 0</a>)</td>
</tr>
</table>
<br>
<br>
<div align="center"><a href=
"http://corecoders.com/forum/index.php?showforum=1">Show All
News</a></div>
</div>
</td>
<td width="15%" valign="top">
<div align="right">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="blocks"><strong>Links</strong></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>:: Core Coders ::</title>
  5. <meta http-equiv="Content-Type" content=
  6. "text/html; charset=iso-8859-1">
  7. <link rel="stylesheet" type="text/css" href="style.css">
  8. </head>
  9. <body>
  10. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  11. <!--DWLayoutTable-->
  12. <tr>
  13. <td colspan="3">
  14. <div align="center">
  15. <table width="100%" border="0" cellpadding="1" cellspacing="1">
  16. <tr>
  17. <td class="header">
  18. <div align="center"><em><a href=
  19. 'http://www.corecoders.com/testing/index.php'>http://www.corecoders.com/testing/index.php</a></em></div>
  20. </td>
  21. </tr>
  22. <tr>
  23. <td class="header">
  24. <div align="center"><img src="CoreCoders.jpg" width="395" height=
  25. "88"></div>
  26. </td>
  27. </tr>
  28. <tr>
  29. <td class="header">
  30. <div align="center"><a href="http://www.corecoders.com">Home</a>
  31. | <a href="http://forum.corecoders.com">Forum</a></div>
  32. </td>
  33. </tr>
  34. </table>
  35. </div>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td width="15%" height="18" valign="top">
  40. <div align="left">
  41. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  42. <tr>
  43. <td width="10%" class="blocks"><strong>Menu</strong><br>
  44. Home<br>
  45. Forum<br>
  46. <br>
  47. <strong>Network</strong><br>
  48. <a href="http://indocron.corecoders.com">Indocron</a><br>
  49. <a href="http://dm.corecoders.com">Deathmatch</a><br>
  50. <a href="http://topsite.corecoders.com">Topsite</a></td>
  51. </tr>
  52. </table>
  53. </div>
  54. </td>
  55. <td width="70%" valign="top">
  56. <div align="center">
  57. <table cellpadding="1" cellspacing="0" border="1" width="100%">
  58. <tr>
  59. <td bgcolor="#011623"><a href=
  60. 'http://corecoders.com/forum/index.php?act=ST&f=1&t=86' target=
  61. '_BLANK'>I'm Going Away</a> Posted: January 29,2004, 07:41:57
  62. AM</td>
  63. </tr>
  64. <tr>
  65. <td>Just a note to let you know I'm going away on a course for a
  66. week this saturday. Paul is away, and Vash is having trouble with
  67. internet access.<br>
  68. <br>
  69. This means that the Indocron bugs topic won't be updated by a
  70. mod, so if you find a bug, just post it in the topic.<br>
  71. <br>
  72. And btw, I'll be back on the 7th February.<br>
  73. ----------------------<br>
  74. <br>
  75. Posted by <a href=
  76. 'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=9'>
  77. Pinky</a>(<a href=
  78. 'http://corecoders.com/forum/index.php?showtopic=86' target=
  79. '_BLANK'>Comments: 1</a>)</td>
  80. </tr>
  81. </table>
  82. <br>
  83. <br>
  84. <table cellpadding="1" cellspacing="0" border="1" width="100%">
  85. <tr>
  86. <td bgcolor="#011623"><a href=
  87. 'http://corecoders.com/forum/index.php?act=ST&f=1&t=85' target=
  88. '_BLANK'>Computer Problems</a> Posted: January 29,2004, 04:37:44
  89. AM</td>
  90. </tr>
  91. <tr>
  92. <td>Sorry for not being around and updating much. My home
  93. cumputers internet is not working for some reason so i willnot be
  94. around much.<br>
  95. <br>
  96. When i get back i will put the new online arcade up, do a new
  97. round of deathmatch, add some new bits to indocron and hopefully
  98. update the main site a bit.<br>
  99. ----------------------<br>
  100. <br>
  101. Posted by <a href=
  102. 'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
  103. ClericVash</a>(<a href=
  104. 'http://corecoders.com/forum/index.php?showtopic=85' target=
  105. '_BLANK'>Comments: 0</a>)</td>
  106. </tr>
  107. </table>
  108. <br>
  109. <br>
  110. <table cellpadding="1" cellspacing="0" border="1" width="100%">
  111. <tr>
  112. <td bgcolor="#011623"><a href=
  113. 'http://corecoders.com/forum/index.php?act=ST&f=1&t=82' target=
  114. '_BLANK'>Downtime</a> Posted: January 21,2004, 03:50:42 PM</td>
  115. </tr>
  116. <tr>
  117. <td>Sorry for the recent downtime and site screwing up i could
  118. not help any of it. My host is changing hard drives so its
  119. screwing up.<br>
  120. <br>
  121. Ill try and bug them to get it sorted!<br>
  122. ----------------------<br>
  123. <br>
  124. Posted by <a href=
  125. 'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
  126. ClericVash</a>(<a href=
  127. 'http://corecoders.com/forum/index.php?showtopic=82' target=
  128. '_BLANK'>Comments: 0</a>)</td>
  129. </tr>
  130. </table>
  131. <br>
  132. <br>
  133. <table cellpadding="1" cellspacing="0" border="1" width="100%">
  134. <tr>
  135. <td bgcolor="#011623"><a href=
  136. 'http://corecoders.com/forum/index.php?act=ST&f=1&t=77' target=
  137. '_BLANK'>Annihilation</a> Posted: January 19,2004, 04:24:09
  138. AM</td>
  139. </tr>
  140. <tr>
  141. <td>Hi all a day or two ago i begun to make a new game for
  142. windows called Annihilation.<br>
  143. <br>
  144. It is a real time strategy game. It will be in a similaire style
  145. to games like commander &amp; conquer, red alert 2, terminal
  146. orbit.<br>
  147. <br>
  148. I will also be making other games for windows too.<br>
  149. <br>
  150. More info soon!<br>
  151. ----------------------<br>
  152. <br>
  153. Posted by <a href=
  154. 'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
  155. ClericVash</a>(<a href=
  156. 'http://corecoders.com/forum/index.php?showtopic=77' target=
  157. '_BLANK'>Comments: 1</a>)</td>
  158. </tr>
  159. </table>
  160. <br>
  161. <br>
  162. <table cellpadding="1" cellspacing="0" border="1" width="100%">
  163. <tr>
  164. <td bgcolor="#011623"><a href=
  165. 'http://corecoders.com/forum/index.php?act=ST&f=1&t=68' target=
  166. '_BLANK'>Let Go Of Dm</a> Posted: January 14,2004, 10:50:43
  167. AM</td>
  168. </tr>
  169. <tr>
  170. <td>Please vote on what you think.<br>
  171. ----------------------<br>
  172. <br>
  173. Posted by <a href=
  174. 'http://corecoders.com/forum/index.php?act=Profile&CODE=03&MID=1'>
  175. ClericVash</a>(<a href=
  176. 'http://corecoders.com/forum/index.php?showtopic=68' target=
  177. '_BLANK'>Comments: 0</a>)</td>
  178. </tr>
  179. </table>
  180. <br>
  181. <br>
  182. <div align="center"><a href=
  183. "http://corecoders.com/forum/index.php?showforum=1">Show All
  184. News</a></div>
  185. </div>
  186. </td>
  187. <td width="15%" valign="top">
  188. <div align="right">
  189. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  190. <tr>
  191. <td class="blocks"><strong>Links</strong></td>
  192. </tr>
  193. </table>
  194. </div>
  195. </td>
  196. </tr>
  197. </table>
  198. </body>
  199. </html>
  • ClericVash
  • Banned
  • Banned
  • User avatar
  • Posts: 65

Post 3+ Months Ago

Right now the html is all sorted out, the coding is fine. Now i need to some how get the 3 tables to align properly, the elft menu, content and right menu all need to be aligned correctly.

I dont know why its not? Any ideas now the code is ok?

>//EDIT

I fixed it all now!!

I had to adjust the cell pading and spacing to the same as what the header is spaced at.

Suprising how much a glass of water can do :lol:

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 75 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.