|
Starhugger -> RE: Choose an encoding? (3/5/2007 13:34:21)
|
quote:
Ah Ha! OK if it's your homepage that's on the web, open it in FP, click the code tab at the bottom. Take out this line right at the top <?xml version="1.0"?> Huh?? I don't see that line anywhere. I even did a search of both my page in FP and in View Source from the online page (I know FP often puts stuff in the code when you upload it). T'ain't nowhere. Where did you see it? I didn't upload the changed code page. It's just on my harddrive. But the original module in question is on my home page online, yes. quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> seems to be a lot of people getting that line in their code at the moment, what's going on? Did you copy that from somewhere? and, why have you got that doctype in there? Your code is nowhere near XHTML1 valid. Strict? I figured with all the gunk FP puts in (and with all my modifications making my pages such a dog's breakfast), my code couldn't be assumed to be "strict" anything. Yes, I'm sure I copied it from somewhere, probably a couple of years ago. Possibly from here. I remember discussing it here a long time ago. I desperately wish someone would come up with a utility that would take the code of a page, analyze it, and tell you exactly what DocType you need! I think W3C does something close but not exactly. Anyway, changing the DocType doesn't change how FP handles the module (error on opening) or the external js file (error on preview). SH
|
|
|
|