Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Template problem
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Template problem

Template problem 13 years, 9 months ago #13138

Hello,

I finished template and it is valid. But when I allow JoomSEF, the W3C HTML validator writes this error:
Line 1, Column 1: character "" not allowed in prolog

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3


and at the top of the template appears about 20px horizontal white stripe.

The tepmplate is at escope.cz.

Funny behaviour:
-FireBug has css links inside of BODY tag but at source code they are in HEAD tag as thay should be.
-With another templates the websites are valid. But when I rewrite my index.php with index.php from another templates, the validator writes the same error.

Why? Idea?
The topic has been locked.

Re:Template problem 13 years, 9 months ago #13182

If you look at your HTML source code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs-cz" lang="
cs-cz"
>
<head>


There's a break that shouldn't be there on line 3 after:
lang="
Not sure, but my guess is that that's the cause of your problem.
Last Edit: 13 years, 9 months ago by glimbeek.
The topic has been locked.

Re:Template problem 13 years, 9 months ago #13185

Thanks for suggestion. I appreciate it. I fixed that. But the problem remains. :(
The topic has been locked.

Re:Template problem 13 years, 9 months ago #13188

**wrong edit**
Last Edit: 13 years, 9 months ago by glimbeek.
The topic has been locked.

Re:Template problem 13 years, 9 months ago #13189

What did you use to create the file?
If you copied the file and then uploaded it, it could have a wrong Unicode.

You can fix this by:
Creating a new file in Dreamweaver.
Copying all the code from the old file in this new file
Saving it, using "Save as".
And make sure that the "Unicode Normalization Form:" is set to "C (Canonical Decomposition, followed by Canonical Composition)"

If that doesn't work, download a different editor, for instance Notepad++ and see if there are any chars infront off
<!DOCTYPE html
Last Edit: 13 years, 9 months ago by glimbeek.
The topic has been locked.

Re:Template problem 13 years, 9 months ago #13190

I used Notepad++ and it works! Thanks a lot.

And BTW I used PSPad for editation before.
Last Edit: 13 years, 9 months ago by yumpa.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty