FP 2003 - Malformed URI

  • Thread starter Thread starter Malcolm Walker
  • Start date Start date
M

Malcolm Walker

HTML Tidy reports the following code, and seven other similar bookmarks,
as malformed:

<td width="29%"><b>
<a href="course.html#Priority">
<font color="#BF0D62" face="Trebuchet MS" style="font-size:
9pt">Priority</font></a></b></td>

I would like to know why. Can anyone enlighten me please?
 
Change face="Trebuchet MS" to face="'Trebuchet MS'" Note the single
quotes around the font name - required when the name contains a space.

Or better still, rewrite the whole link as (and move away from the
deprecated font tag):

<td width="29%"><p><b><a href="course.html#Priority"
style="color:#BF0D62;font-family:'Trebuchet
MS';font-size:9pt;">Priority</a></b></p></td>

I would go further and change the 9pt (a printers measure which will
vary in different browsers) to 12px or a scalable font size such as
x-small, 80% or .8em (which depends on whether you have a !doctype or
not).
 
Thank you for your advice - once more - it is appreciated very much.

My doctype is the default from FP 2003:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

While FrontPage has been an asset to me since FP 97 it seems very much
outdated now. My aim is to convert my site at: www.sandiwaygolf.co.uk/
to CSS as far as is possible and practical for me. It's hard work for
an old dog like me to learn new tricks! That's why being able to get
assistance and advice in this NG is so welcome. {8;-))
 
Back
Top