Forum Moderators: open
error 1. unknown entity "R" - it's burping on my meta keywords line where one of my entries is "CCR&R". It is the ampersand that is throwing things off, but why?
error 2. I used a bordercolor around a table and also an image for a table background, which it says "there is no attribute 'BORDERCOLOR' for this element" (BACKGROUND too). I'm assuming this is because I should be setting those things up in CSS, right?
Thanks :)
The "burp" in your meta keywords IS from the ampersand. Change it to this CCR&R.
The ampersand (&) is used to designate special character entities. The validation error was given because of the parsed CCR&R where the &R was interpreted as an incomplete character entity.
Using CSS for everything is what the W3C is hoping Webmasters will aspire to. You can style your table any number of ways...
<style type="text/css" media="all">
table.mystyle {
background:url (images/myimage.jpg) no-repeat;
border:3px solid #c00;
}
</style>
</head>
................
<body>
<table class="mystyle">
[edited by: papabaer at 8:47 pm (utc) on June 12, 2002]