accents do not work

V

Veronika

Hi;

I am redoing my old web site using the following:

<?xml version="1.0" encoding="UTF-8"?>
<!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="en" lang="en">
<head>

but now any pages with accent (like french) do not work; if I take the 1st
line out, I get the accents, but the following part of my .css does not
work:

BODY {
scrollbar-face-color: #E0B058;
scrollbar-highlight-color: #F8BD57;
scrollbar-shadow-color: #828282;
scrollbar-3dlight-color: #F5F5F5;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #CCCC99;
scrollbar-darkshadow-color: #737373;
}

Everything works in preview of FP2003 but not when I preview in IE browser.

Any suggestions?

Tx
veronika
 
T

Trevor L.

Veronika said:
Hi;

I am redoing my old web site using the following:

<?xml version="1.0" encoding="UTF-8"?>
<!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="en" lang="en">
<head>

but now any pages with accent (like french) do not work; if I take
the 1st line out, I get the accents, but the following part of my
.css does not work:

BODY {
scrollbar-face-color: #E0B058;
scrollbar-highlight-color: #F8BD57;
scrollbar-shadow-color: #828282;
scrollbar-3dlight-color: #F5F5F5;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #CCCC99;
scrollbar-darkshadow-color: #737373;
}

Everything works in preview of FP2003 but not when I preview in IE
browser.
Any suggestions?

Tx
veronika

An expert on this NG told me that XHTML does *not* require the first line
<?xml version="1.0" encoding="UTF-8"?>

He said that anything before the <!DOCTYPE> would cause the browser to go
into quirks mode.
I was/am trying to make my site XHTML so I removed this tag. I found that
removing the tag does make a difference to the way the page is rendered.

Perhaps the CSS is non-standard ?

I would also like to know whether the expert was correct.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top