PDA

View Full Version : Is it a CSS problem?



Stokkers
09-02-2009, 08:30 AM
Just going over my website and have noticed a few related (?) problems that I have never seen before and as I am using FP2003, I am wondering if it is a Style Sheet problem or not.

Amongst the Body Text, I am using ", ', and ½ (Alt 171), but they are showing up as a solid diamond shape with a question mark in the centre.

The font is Verdana and 10pt.

Can anyone throw any light on the problem?

MTIA

Ken

MandyJay
09-02-2009, 08:34 AM
We need to see the page ... url please and rough location of where the problem is.
Thanks
MJ

Stokkers
09-02-2009, 02:43 PM
We need to see the page ... url please and rough location of where the problem is.
Thanks
MJ

Hi again Mandy,

The worst affected page is at: http://www.kenstockley.co.uk/seatime.htm

'HMS Ganges - 1955 - 1957 Joined as a Boy at 15�. Should read 15½'

'where their ships �worked-up� to a state of readiness' - Should read 'worked up'

Though, online the squares were appearing as diamond shapes with a ? inside.

That's just a couple of examples.

Curious to learn whether it a CSS problem or what.

Regards.

Ken

MandyJay
09-03-2009, 04:05 AM
Well .... I think it may be a combination of things.

Firstly the page content was not made with FrontPage ... the coding tells me you copied from Microsoft Word or some other program. The coding those programs use is not the same as FrontPage coding and it isnt very browser friendly either.

Also if you look at your page under HMS Ganges ... you have the word ... boys' .........

now the single apostrophe is showing there ..... and also in other places. Yet it does not show in the example you quote. So two different methods must have been used? Also if you look at the shape of the apostrophe's (which you should be able to see in design view?) they are different.

As to the 1/2 .... to make sure you avoid a problem you can just use the number one followed by slash followed by 2 i.e. 1/2 and use smaller size if you wish. However ... generally when I wish to use a fraction I go to "insert/symbol .... then locate the fraction from the main box. Not sure what "alt 171" is ... I tried that and nothing happened.

But I suggest it is your use of another program then copying and pasting into FP that perhaps has produced some problems.

You have not got a proper DocType either .... whch for FrontPage should be the Transitional one i.e.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

instead you have

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">


which comes from using eithe text boxes or another office program such as Word.

Also some of the styling on your page is not from FrontPage but from elsewhere i.e.

<p class="Normal-P" align="center"><b><span class="Normal-C2">

Nowhere in your stylesheet does that styling (CSS) appear .... it was probably produced by a program from which you copied the text?

Just a few pointers to think on .....

MJ

Stokkers
09-03-2009, 05:40 AM
What a long reply, Mandy!

I cannot remember where the text originated from, except that I did copy it from my old site and that was in either FP98 or 2000. I will have a dabble around and see if I can alter it and get the text to work correctly. Maybe just copy it to Notepad and then back to FP. Else I may just have to retype it all, but why it is working in parts, I just don't know

Hadn't thought of using Insert/Symbol, though I have used it in the past with Publisher and Word. The Alt+171 is what I have used from years ago, from a list I have.

You may remember from earlier posts, the layout of my site is from a template that came from Themeart, so maybe that has something to do with this problem. I know that using Word or any other high end word processing program, can really mess up the text/coding in FP. To be honest, I haven't checked up on the coding on these templates and don't think I shall be using them again ........ seems to take me far too long to resolve a problem or to find out how these things work.

Maybe I am stuck in my old ways, as most people that know me say,except that I do prefer the editoring programs of today than 10-12 years ago.

Right, I had better get on. Got an important none computing chore to get on with - namely pickling beetroot, but I shall have another go at sorting this lot out later.

Take care.

Ken

MandyJay
09-03-2009, 05:53 AM
Hi there,
the original template I believe is fine from what I can remember as far as the coding ..... . I would think as you copied from your old site, it probably came from there. Any copying, yes, needs to be pasted into notepad first then into FP ... then all the yukky code is stripped away .....

Beetroot, ooops one thing I am not that keen on, especially when one once rolled off the plate onto the table, right down the other end and landed in my lap .... that was bad enough except I was wearing my wedding dress at the time ... sigh .... I mean who has beetroot on their wedding day!!! lol ..... mind you, talking of beetroot has started my tummy making a few begging noises .... so just about midday here and I think I will raid the fridge .....

TTFN

MJ

MandyJay
09-03-2009, 05:58 AM
Ah ... Alt+171 .... using the numbers keypad ... lol .. no wonder it wouldnt work when I tried using normal numbers. I don't think I have ever used the numbers keypad, being a touch typist I was taught to use the numbers on the main keypad ....... I think I only ever use the Home key on the numbers pad.

MJ

Stokkers
09-03-2009, 09:05 AM
Ah! Each to his own. I very rarely used the keyboard when I was on oil rigs ..... usually the number board!

Right! Back to this problem. I have come to the conclusion that it is NOT a CSS problem. Where the problem is, I do not know, unless it is an uploading problem, so I will try out another FTP program. The one I am using is FileZilla, but I have to go out for a while soon, so will try that out when I return.

Why do I think it may be the FTP program? Well, I have only recently started to use this one and all these problems of files changing names seems to have started since using it. A couple of example are below:

Coding from FrontPage

<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>TESTING</title>
</head>

<body>

<p align="center"><font size="5">TESTING</font></p>
<p align="center">&nbsp;</p>
<p align="center"><font size="5">'&nbsp; &quot;&nbsp; £&nbsp; ½&nbsp;&nbsp; Keyboard&nbsp;
TNR</font></p>
<p align="center"><font face="Verdana" size="5">'&nbsp; &quot;&nbsp; </font>
<font size="5" face="Times New Roman">£&nbsp;&nbsp; </font>
<font size="5" face="Verdana">½ </font><font size="5" face="Times New Roman">
Insert - TNR</font></p>
<p align="center"><font size="5" face="Verdana">'&nbsp; &quot;&nbsp; £&nbsp; ½&nbsp;&nbsp;
Keyboard - Verdana</font></p>
<p align="center"><font face="Verdana" size="5">'&nbsp; &quot;&nbsp; ½&nbsp; Insert -
Verdana</font></p>

</body>

</html>

Coding from FTP:

<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>TESTING</title>
</head>

<body>

<p align="center"><font size="5">TESTING</font></p>
<p align="center">&nbsp;</p>
<p align="center"><font size="5">'&nbsp; &quot;&nbsp; �&nbsp; �&nbsp;&nbsp; Keyboard&nbsp;
TNR</font></p>
<p align="center"><font face="Verdana" size="5">'&nbsp; &quot;&nbsp; </font>
<font size="5" face="Times New Roman">�&nbsp;&nbsp; </font>
<font size="5" face="Verdana">� </font><font size="5" face="Times New Roman">
Insert - TNR</font></p>
<p align="center"><font size="5" face="Verdana">'&nbsp; &quot;&nbsp; �&nbsp; �&nbsp;&nbsp;
Keyboard - Verdana</font></p>
<p align="center"><font face="Verdana" size="5">'&nbsp; &quot;&nbsp; �&nbsp; Insert -
Verdana</font></p>

</body>

</html>

As can be seen, all symbols from FP are OK, whereas, only some of the symbols from online are correct.

Something else to think about! LOL

Right! Off to Asda.

Ken

PS Sorry about missing the + symbol out from the keypad.

MandyJay
09-03-2009, 09:32 AM
It could also be browser related ...

On your IE ... View/Encoding .... Western Europe.

Can you see the fraction now?

MJ

Stokkers
09-03-2009, 10:24 AM
It could also be browser related ...

On your IE ... View/Encoding .... Western Europe.

Can you see the fraction now?

MJ

Great! Yep, got that, so hopefully, that is that problem sorted out. Thanks. Tried that and all seems to be OK.

Now to start on the sub web for my family tree. So far as I can remember, there are a couple of dozen pages, but not so daunting, as most of the HTML is generated for me, but there's still bound to be trouble.

Thanks again for your help, Mandy. Anything I can do for you, just holler.

Ken