 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
miachkanin
Joined: 07 Mar 2009 Posts: 4
|
Posted: Sat Mar 07, 2009 11:38 am Random characters appearing above, below menu |
|
|
|
Hi,
I'm using SSI for my header, footer and nav bar, but getting these inexplicable characters showing up above the nav bar and above the footer ().
| Code: |
<!DOCTYPE xhtml 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">
<head>
<title>text</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="ie"></div>
<div id="wrapper">
<!--#include virtual="header.html"-->
<!--#include virtual="navbar.html"-->
<div id="body">
<div id="hometext">
<div id="content"><div>
<h2>header</h2>
<p>text text</p>
</div></div><!-- end #content -->
<div class="clear"></div>
</div><!-- end #hometext -->
<!--#include virtual="footer.html"-->
</div><!-- end #body -->
<div id="paper">
<div id="newsboxtext">
<h2><img src="images/latest_news.png" width="70" height="10" alt="Latest News" /></h2>
<img src="images/picture_3.jpg" width="96" height="56" alt="picture 3" />
<p><b>text</b></p>
<p>text</p>
<p class="readmore"><a href="index.html"><img src="images/go_there.png" width="53" height="7" alt="see more" /></a></p>
</div><!-- end #newsboxtext -->
</div><!-- end #paper -->
</div><!-- end #wrapper -->
</body>
</html> |
Can anyone explain why this is happening? I can't seem to find a solution. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
Posted: Sat Mar 07, 2009 11:45 am |
|
|
|
That is probably your HTML Editor. Depends on what character encoding it is using. If possible, set it to ANSII as it may be in UniCode 8/18. You may have to turn on the "Show all formatting" to see a lot of the characters to edit out.
Best to look at the source code in another plain text editor and use the find utility to search for those. Need to copy/paste from the online page for search function. If it doesn't find any, those may be hidden.
Do you have a link to online problem page? |
|
miachkanin
Joined: 07 Mar 2009 Posts: 4
|
Posted: Sat Mar 07, 2009 11:50 am |
|
|
|
Thanks, Ron.
The link is: yorku.ca/asayork
Interestingly, it's only index.html and not any of the other pages that's exhibiting this problem. I've gone and looked through the code as appears in my editor and those don't appear. However, when I bring up the source formatting of the page, those do appear.[/i] |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8748 Location: Castle Pines North, CO USA
|
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
Posted: Sat Mar 07, 2009 8:00 pm |
|
|
|
| miachkanin wrote: |
| However, when I bring up the source formatting of the page, those do appear.[/i] |
I can see them on the page itself without looking at source code. The characters appear in two place on your page. May have been some quirk in the editor or the uploader, but just delete them as they are easily seen in source view, too, as you've noticed.
I got similar characters from an old HTML Editor which did not use ANSI encoding. Some pages were messed up big time.
Some coding errors you might want to fix since you are coding to XHTML 1.0:
CSS Error
HTML Errors:
| Quote: |
Character Encoding mismatch!
The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element ( utf-8 ). I will use the value from the HTTP header (iso-8859-1) for this validation. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|