html scripting errors...

Status
Not open for further replies.

loveboat

New Member
Messages
33
Reaction score
0
Points
0
I've searched the forums briefly so if this has already been answered please excuse this, but...

I have been having an issue with question mark characters (?) appearing all over my site (http://seas2success.x10hosting.com) in place of quotation marks and in other random places around links and images. Can someone please explain what's happening and if there are any escape sequence characters I should know about to 'escape' this dilemma?

Thanks in advance!
Deborah Dapo

 

cottdawggz

New Member
Messages
15
Reaction score
0
Points
0
Hi i think i have a solution to your problem.

One little thing that may work is fixing up your double font commands that you have i.e.

Code:
<font size="4"><font face="Comic Sans MS">

to this

Code:
<font size="4" face="Comic Sans MS">

if this doesnt work than try this

firstly you need to edit the style tags area at the top from this

Code:
<style type="text/css">body { margin:0px; background-color:#204274; color:#FFFFFF;}
a { text-decoration:none; color:#FFFFFF; font-weight: bold;  }
a:visited { text-decoration:none; color:#FFFFFF; font-weight: bold; }
a:hover { text-decoration:underline; color:#FFFFFF; font-weight: bold; }</style>

to this

Code:
<style type="text/css">body { margin:0px; background-color:#204274; color:#FFFFFF;}
a { text-decoration:none; color:#FFFFFF; font-weight: bold; font: 14pt/16pt Comic Sans MS; }
a:visited { text-decoration:none; color:#FFFFFF; font-weight: bold; font: 14pt/16pt Comic Sans MS;}
a:hover { text-decoration:underline; color:#FFFFFF; font-weight: bold; font: 14pt/16pt Comic Sans MS; }</style>

now what i have done there is added the font selection in the style coding instead of useing the <font> code before the text.

just remember to remember to remove all the face="Comic Sans MS" commands like this one

<font face="Comic Sans MS">

if you have any other trouble please feel free to send me the html file and i will try and debug it for you just email it to me at jakecotton90@gmail.com.
 

mattura

Member
Messages
570
Reaction score
2
Points
18
No, no no! You are all wrong!
The problem is with encoding.
You have written it in Windows-1252, but it may be rendering in UTF-8.
To fix this, you need to specify the encoding you use in the HEAD section of the HTML. Seeing as you are using HTML 4, you need:
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252" >

Check out this page:
http://www.w3.org/International/O-charset

Although I would recommend keeping utf-8 and saving the " in a different encoding (if you use notepad, when you save it, change where it says ANSI to UTF-8)
Edit:
PS. Just a style point, your text goes right to the edge, you may want to wrap it in a div with a small margin
ie:
<body>
<div style="margin:5%;">All your content</div>
</body>
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Well, kajasweb is right with quotes though, you need to use &quot; otherwise using " it thinks it's part of the code... not text.. But mattura is also right with the encoding thing, that's what is causing the problem with all the ?'s
 

loveboat

New Member
Messages
33
Reaction score
0
Points
0
Thanks guys, for your responses.

Right now I believe the servers and such are being updated so my cPanel isn't working correctly, so I'll have to wait until they're fixed before I can fix the issues with my site.

Hopefully this is being caused by the update but, the one time I did manage to get into my cPanel, I noticed there were 2 out of 5 SQL databases being used by my domain, none of which that I've setup! I'm hoping that this is just an indication of the updates and not an indication of a security threat on my site.

In any event, I'll let you know the results as soon as I can get to it!
- Debbie
 
Status
Not open for further replies.
Top