Quote:
Originally Posted by fiore
... I created this on vista (I am so gonna be pissed if that's the reason). but only in a notepad using html. I used an ftp client to upload my work, using siteground for some php coding that they offer ...
|
Adam already explained why PHP isn't a problem, and he's right so take his word on that. But, there could potentially be issues with line endings (
CR vs
LF vs
CR+LF ) if you're expecting a linux server to run Windows text files; maybe somebody more knowledgeable can clear that up? I know robots.txt has to be unix format.
FTP is an ancient protocol. It doesn't work with NTFS, so the "hidden" data streams that can hold extra info about a file - stuff Vista and XP does - are lost when you use FTP to send a file up to a server. So weirdness in your operating system isn't even able to create problems like what you described. Just for future reference...
Forget Notepad ( unless the Vista one is drastically improved ). I'd recommend
Notepad++ as the free, open source solution, or UltraEdit as the commercial version if you want to spring for it. Or Visual Web Developer, as long as you don't use the actual "visual" part. The problem with Notepad is that every letter is the same color, same font, and so on. Syntax highlighting is really the best coding innovation since coffee. Microsoft's Vis Web Dev goes a step further with IntelliSense, which is something I personally love, but not anywhere near as important as the highlighting.
That will make it amazingly easier to work on html, especially if you're learning.
I'm about to have a look at your site, but one last thing came to mind while I was reading through the thread. You were asking about unclosed tags ... the syntax for an image is:
<img src="
..."
alt="
..."
class="..." title="..." />
If you miss that last / at the end of the tag ( like
<img src="
..."
> ) that's an error. All tags need to be closed, and while links are
<a href="..."
> and then
</a>, there's no
</img> closing tag, since you can't embed text data inside the image. ( Only certain attributes, like alt and title. You don't need a title for images, but it provides mouse-over text in all browsers. )
Oh ... and for the record, I vote for FireFox.