randomdood 0 Report post Posted October 22, 2006 my webpage http://forums.xisto.com/no_longer_exists/ has something wrong with it, as soon as you load the page the menu appears on the right then goes to it's spot on the left, any help? As Soon As Poosible would be nice but there is no rush really.... (only hosting it there for now, when i finish the website it will be moved to trap) Notice from saint-michael: Title needs to be more discriptive then just help, so as to get a better answer from the members. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 22, 2006 Well, to begin with, this code segment should be at the top of your page and not in the middle. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://forums.xisto.com/no_longer_exists/ xmlns="http://forums.xisto.com/no_longer_exists/ http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title><style type="text/css"></style></head><body Once you fix that, let us know. It may be the cause of whatever problems you are having. Share this post Link to post Share on other sites
randomdood 0 Report post Posted October 22, 2006 (edited) well, the site is actually php but the coding that i think is messing it up is in html, if that makes sense. but that code you gave me screws it up....maybe cuz it's a php doc (yes i know this is html section but the problem i'm having is with the html not the php)edit: it doesn't really screw it up but it makes the page load take about 2mins which isn't right.) Edited October 22, 2006 by randomdood (see edit history) Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 22, 2006 If you are using 'includes', simply erase the DTD, style,html and body tags from the 'included' file. Php will parse the 'included' file as html automatically, so the duplicate html tags are messing things up. My guess. Share this post Link to post Share on other sites
Lozbo 0 Report post Posted October 22, 2006 If you see the html output (the source code from the browser, not the original source php you upload to the server) you will find two declarations of the <html> opening tag, which is wrong.jlhaslip thinks you are using php includes to call to another file(s) from the index.php, if that is the case, then you should remove all unnecesary tags from the included file, for example:If you have index.php, menu.php and footer.php (self descriptive), and you call the later into index.php, you dont have (and actually it is wrong if you do so) to have a DTD, <html>, <head>, and <body> tags in menu.php and footer.php again, they are already declared in index.php...Hope you understand.. good luck.. Share this post Link to post Share on other sites
randomdood 0 Report post Posted October 23, 2006 well basically i havethe index.php which then the php gets the content from a folder, and i currently do not have a dtd, so yeh.....also jlhaslip was correct, however i took the tags out you told me too and still......nothing changes. Share this post Link to post Share on other sites