4 replies [Last post]
Anonymous
Anonymous's picture
Guru
calgary,alberta
calgary,alberta

Crying I have searched and high and low for an answer to this question and now I have found this forum so I am trying again. I have a website that was in .htm and now I have had to change it to .asp pages.

Website is ww3.texloc.com/testhome2.asp

I am down to one error. Line 15, column 72: document type does not allow element "LINK" here (explain...).

This is what the validator says line 15 is.
..." type="text/css" href="_includes/texmed.css">

but when I look at line 15 in my document it says

<!--#include file = "_includes/toptest.inc"-->

This is my include page for the top of my webpage.

On the toptest.inc file the CSS link is the very first line on the page. <link rel="stylesheet" type="text/css" href="_includes/texmed.css">

On the page that I am validating, the is the first line after
<!--#include file = "_includes/toptest.inc"-->

I tried changing the CSS file to and include file rather than a link but then the validator gave an error mesage. 500 Internal Server Error

I'm up a creek without a paddle...I hope someone out there can give me a push.

Thanks
Janine

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 9 years 46 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

css link not validating

Is your <link> tag within the <head> tags ? If you could possibily post the first 20 lines of your page, it would help us understand you better..... or even a link to the page itself would be good(then we can see the end result of your page).

[Edit...] Sorry I just noticed the link :oops:

http//melbourne.ug.php.net

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 9 years 46 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

css link not validating

Ok I guessed it right. This is what you have:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="pragma" content="no-cache">
<meta name="description" content="Manufacturer of fluoroplastic medical tubing and heat shrink. PTFE, PFA, MFA, ETFE and USP Class VI FEP medical tubing, multi-lumen, radiopaque and barium filled medical tubing.">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="keywords" content="fep medical tubes,scored pfa,capillary tubing,peelable catheters,custom extrusions,etfe usp, lumen tubing, class vi,radiopaque barium filled tubing,medical profiles,needle sheaths,multi-lumen micro balloon catheter tubing,medizinischer schläuche,catéter médico aislante de tubo,multi lumen tubing">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta name="revisit-after" content="14 days">
<meta name="robots" content="index, follow">
<title>Fluoropolymer Medical Tubing and Heat Shrink</title>
</head>

<body><link rel="stylesheet" type="text/css" href="_includes/texmed.css">

and this is what you need:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="pragma" content="no-cache">
<meta name="description" content="Manufacturer of fluoroplastic medical tubing and heat shrink. PTFE, PFA, MFA, ETFE and USP Class VI FEP medical tubing, multi-lumen, radiopaque and barium filled medical tubing.">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="keywords" content="fep medical tubes,scored pfa,capillary tubing,peelable catheters,custom extrusions,etfe usp, lumen tubing, class vi,radiopaque barium filled tubing,medical profiles,needle sheaths,multi-lumen micro balloon catheter tubing,medizinischer schläuche,catéter médico aislante de tubo,multi lumen tubing">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta name="revisit-after" content="14 days">
<meta name="robots" content="index, follow">
<title>Fluoropolymer Medical Tubing and Heat Shrink</title>
<link rel="stylesheet" type="text/css" href="_includes/texmed.css">
</head>
<body>

If you notice the <Link> tag has been placed inside the <head> and </head> tags

So now you have to place the inlcude statement before the </head> tag.

http//melbourne.ug.php.net

Anonymous
Anonymous's picture
Guru

css link not validating

Thanks for the quick response......Yes, but as I mentioned earlier. I don't have that link in the body. My page looks like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="pragma" content="no-cache">
<meta name="description" content="Manufacturer of fluoroplastic medical tubing and heat shrink. PTFE, PFA, MFA, ETFE and USP Class VI FEP medical tubing, multi-lumen, radiopaque and barium filled medical tubing.">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="keywords" content="fep medical tubes,scored pfa,capillary tubing,peelable catheters,custom extrusions,etfe usp, lumen tubing, class vi,radiopaque barium filled tubing,medical profiles,needle sheaths,multi-lumen micro balloon catheter tubing,medizinischer schläuche,catéter médico aislante de tubo,multi lumen tubing">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta name="revisit-after" content="14 days">
<meta name="robots" content="index, follow">
<title>Fluoropolymer Medical Tubing and Heat Shrink</title>
</head>

<body><!--#include file = "_includes/toptest.inc"--><div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="695" style="border-collapse: collapse">

Somehow when I go the validator is replaces the include file with the css link.

Do you know how I can include an include page that has a CSS page linked to it?

That seems to be the problem

Thanks
Janine

Anonymous
Anonymous's picture
Guru

css link not validating

I HAVE RESOLVED THIS ISSUE.

I had to take the css text link out of the include page and put it in the actual web page that appears on the browser.

Thanks for the help

Janine