voleet
11-24-2003, 03:46 AM
I've finished a design, and am currently coding it and adding content. I can't add attachments so i'll have to describe whats happening. Basically i want the design to run from the top of the page to the bottom leaving no gaps (the header is touching the top and footer the bottom).
The trouble is that although the coding seems right, on my browser it gives a little <br> type space at the bottom when I first load the page, but when I refresh it goes and looks like it should. To me it looks like a messed up browser but then it only does it on my site. Erm...little help?
Moxie
11-24-2003, 04:10 AM
Try putting in an actual <BR> after your bottom image, it always seems to work on my designs. Not sure if that's your problem though.
voleet
11-24-2003, 04:30 AM
Seems to just make the gap twice the size, then when i refresh it goes to one <br> sized gap.
'Tis very odd, maybe it wont do it when I upload it..
Moxie
11-24-2003, 04:33 AM
Yea that is strange...lol i'm stumped. Wish I could see it to tell if it does it on my browser.
airnine
11-24-2003, 08:58 AM
if you are using layers, that's the reason, try restructuring
the layer tag needs physical space and if you left it at the end, what you get in a browser is empty space or what appears to be a <br /> tag
Airnine
voleet
11-24-2003, 09:02 AM
ahh well now i was about to upload the file but bravenet my temp host does not support php so i turned it into html, and it dosent seem to do it as this file type. Could that mean its to do with PHP Triad? (local php and mysql)
airnine
11-24-2003, 05:17 PM
what kind of a host does not support php nowadays? poor choice...
voleet
11-24-2003, 05:36 PM
No its not the host. I said "local" meaning I have set up php and mysql to run locally using a program called "Php-Triad" so I can do all my work wihout uploading to test it. Looks like this might be a little flaw in it.
airnine
11-24-2003, 05:53 PM
when uploading a file it is quite easy to tell, if the file is where it should be...
any file uploaded is uploaded into default temp directory and the script that's doing the uploading has to do something with the file, e.g. move it, copy it or ...., in any case, after the script is executed, the uploaded file is deleted from the temp directory by php engine
you have a nice php function is_uploaded_file that you use to check the upload (see the manual)
even if you have already done that and its ok, perhaps you don't have permissions to put the file where you wanted...
there are some othere most common mistakes, but let us leave it there
chances are, your php engine works fine, usualy is developers mistake...
good luck
Airnine