ReavenSpirit Posted May 4, 2004 Share Posted May 4, 2004 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.. any idea? greets reavenSpirit Quote Link to comment Share on other sites More sharing options...
snowlynx Posted May 4, 2004 Share Posted May 4, 2004 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? Quote Link to comment Share on other sites More sharing options...
ReavenSpirit Posted May 4, 2004 Author Share Posted May 4, 2004 not on purpose i just dont know where it comes from.. Quote Link to comment Share on other sites More sharing options...
snowlynx Posted May 4, 2004 Share Posted May 4, 2004 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. Quote Link to comment Share on other sites More sharing options...
ReavenSpirit Posted May 4, 2004 Author Share Posted May 4, 2004 <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%"> </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"> <?php include (navigatie.php)?> </p> <p> </p> <p> </p> <p> </p> <p> </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%"> </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%"> </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.. Quote Link to comment Share on other sites More sharing options...
snowlynx Posted May 4, 2004 Share Posted May 4, 2004 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? Quote Link to comment Share on other sites More sharing options...
ReavenSpirit Posted May 4, 2004 Author Share Posted May 4, 2004 <?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 :( Quote Link to comment Share on other sites More sharing options...
ReavenSpirit Posted May 4, 2004 Author Share Posted May 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.