Hi all! I've been a long-time lurker here, but never actually come across a problem that I wasn't able to solve myself.... until now. Hopefully you guys can help me out. My website: www.musclegainguide.com My external stylesheet: www.musclegainguide.com/style.css I was uploading some new pages last night, but I made no changes to the 'header' portion of the page (it's a separate PHP include). In fact I haven't touched anything 'important' at all. But somehow last night as I was uploading something, all of a sudden the top of the table the page moved down about 25px... you'll notice that the header is not flush with the top of the page, despite margins of "0" all around. It used to line up with the top of the browser. I've checked and re-checked the code and I simply cannot figure out why it's sitting down like that.... I want it to go back to being 'marginless' at the top! Can anyone see what the problem is? Thanks in advance!!
I dont think its anything to do with the external CSS sheet, i think it maybe something to do with the index.php you have, if you could post us to a document with the source code in there i could take a look as you cant view php through view source.
There's no real PHP, just server side includes. So basically when you view source, that's the extent of the code ... nothing else hidden, other than the actual includes themselves, for example: <?php include ("top2.html"); ?> PS. I figured it wasn't the external stylesheet but I just wanted to provide it to be 100% certain. Thanks!
Maybe I'm blind, but I don't see any <br> anywhere. Here's the code for the top of my page: <!-- Begin "Title" --> <html> <head> <title>Build Muscle and Gain Weight Fast | Muscle Gain Guide</title> <meta name="description" content="Muscle building, weight gain and fat loss information and articles. Also featuring bodybuilding product and program reviews, muscle blog, and much more."> <!-- End "Title" --> <!-- Begin "Top" --> <link rel="stylesheet" type="text/css" href="http://www.musclegainguide.com/style.css" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="791" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><img src="http://www.musclegainguide.com/images/header-top.jpg" alt="Muscle building and weight gain information" width="791" height="147"></td> </tr> <tr>
PROBLEM SOLVED!!! Turns out you were right, it was all caused by a "<BR>" that was actually located in the BOTTOM portion of the page, but obviously still affected the table as a whole. Thanks for the help!!!