Jump to content


Photo

table help in dreamweaver needed..


  • Please log in to reply
7 replies to this topic

#1 ReavenSpirit

ReavenSpirit
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 May 2004 - 02:25 PM

hello i just made a design of a site and i uploaded it to a site.
next thing i wanted to do is edit it again but then when i opent the page there was a whole strange thing going in i could not edit it anymore???

i uploaded it to http://www.acovision.net/php/site/

this is how it looks like in dreamweaver..
Posted Image

any idea?

greets reavenSpirit

#2 snowlynx

snowlynx
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 04 May 2004 - 02:54 PM

When I look at the source code, there seem to be multiple body and head tags. Is this on purpose? Are you including a bit of php code from elsewhere to start the document or something?

#3 ReavenSpirit

ReavenSpirit
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 May 2004 - 03:42 PM

not on purpose i just dont know where it comes from..

#4 snowlynx

snowlynx
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 04 May 2004 - 03:53 PM

Okay...what's the original code look like (with the php)?

Dreamweaver seems to be really picky with code in a way most broswers aren't. That's not necessarily a bad thing (as that finds errors) but it might explain why dreamweaver won't read it and a broswer will.

#5 ReavenSpirit

ReavenSpirit
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 May 2004 - 03:55 PM

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Design</title>
</head>

<body bgcolor="#C0C0C0">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="800" height="552">
<!-- MSTableType="layout" -->
<tr>

<td valign="top" colspan="2" height="100" bordercolor="#000000">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="2" -->
<tr>
<td bgcolor="#000000" colspan="3" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#000000" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
<td valign="top" bgcolor="#E1E1E1" bordercolor="#000000" width="100%">&nbsp;
</td>
<td bgcolor="#000000" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#000000" colspan="3" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>

<td valign="top" rowspan="2" width="138">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="1" -->
<tr>
<td bgcolor="#000000" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
<td valign="top" bgcolor="#E1E1E1" width="100%"> <p align="center">&nbsp;
<?php include (navigatie.php)?>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></td>
<td bgcolor="#000000" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#000000" colspan="3" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</td>

<td valign="top" height="71">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="4" -->
<tr>
<td valign="top" bgcolor="#E1E1E1" width="100%">&nbsp; </td>
<td bgcolor="#000000" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#000000" colspan="2" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>

<td valign="top" height="381" width="662">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="3" -->
<tr>
<td valign="top" bgcolor="a#E1E1E1" width="100%">&nbsp; </td>
<td bgcolor="#000000" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#000000" colspan="2" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>

</html>


this is how it should look like..

#6 snowlynx

snowlynx
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 04 May 2004 - 03:57 PM

What's in <?php include (navigatie.php)?>
If it also includes head and body tags, are they nessessary to the script, or can you delete them?

#7 ReavenSpirit

ReavenSpirit
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 May 2004 - 03:58 PM

<?php include (navigatie.php)?>

it changes to that strange looking page if i use this:
<?php include (navigatie.php)?>

but it doesnt change then jet it changes if i put the " bewteen the include
<?php include ("navigatie.php")?>

then i cant edit the page correctly anymore verry strange..

i dont understand shit of it :( :(


#8 ReavenSpirit

ReavenSpirit
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 May 2004 - 04:04 PM

ow i see what the problem is now, i used a page to include in a table but i forgot to take away the head, body end stuff from the include page thx m8 you helped me alot :)

greetz ReavenSpirit




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users