background tag not recognised

Page 1 of 1

2 Replies - 621 Views - Last Post: 24 November 2007 - 08:25 PM

#1 richiebaby  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 21-November 07

background tag not recognised

Post icon  Posted 22 November 2007 - 04:10 PM

Previously i was validating my code through xhtml 1.0 and the one major problem was that it tells me the background tag does not exist.

So i changed my doctype to html 4.1 to hopefully get round the problem but to no avail.
If it's deprecated what are you supposed to use instead?
Or what if any are the alternatives



The code as is below

<table width="1230" background="ma pics/12.jpg" border="1" cellspacing="0" cellpadding="0">





The jpg is in a css file on my pc and displays it in my browser when i see the page although unpublished.
I havn't tried to publish this page yet but every time i try it through w3schools validator it tells me the tag dosen't exist?!
I've included the whole code to see if that will help at all. Cheers






The code below as requested

<table width="1230" background="ma pics/12.jpg" border="1" cellspacing="0" cellpadding="0">

The jpg is in a css file on my pc and displays it in my browser when i see the page although unpublished.
I havn't tried to publish this page yet but every time i try it through w3schools validator it tells me the tag dosen't exist?!

I've included the whole code to see if that will help at all. Cheers

One more thing do you think it would make any difference if I took the jpg out of the css and made the link straight each page could that help? Just an idea.





<!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>
<link rel="stylesheet" type="text/css"
href="mariearts.css" />
<title>Marie arts</title>
<meta name="Keywords" content="Drama, School, Leeds, Marie Arts, Performance, Nina Prescott, Gabrielle Cresswell, Performance, Self-expression, Children, Drama Lessons, Role-play, Mime work, voice expansion, trust exercises, Workshops" />
<meta name="Description" content="Drama school for children, Artistic creativity, Teaching various skills such as, Role-play, Mime work, voice expansion, trust exercises,Workshops " />
</head>
<body>




<table width="1230" background="ma pics/12.jpg" border="1" cellspacing="0" cellpadding="0">




<tr>
<td>
<h1>Marie Arts</h1></td>
</tr>
</table>
<h4 align="center">
<a href="2mariearts.htm" style="text-decoration:none">please
<img border="0" src="ma pics/cm4.jpg" align="middle" width="165" height="150" alt="mask"></img>
enter
</a>
</h4>
<h5>Drama and performance school</h5>
<hr />
</body>
</html>








<!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>

<link rel="stylesheet" type="text/css"
href="mariearts.css" />
<title>Marie arts</title>

<meta name="Keywords" content="Drama, School, Leeds, Marie Arts, Performance, Nina Prescott, Gabrielle Cresswell, Performance, Self-expression, Children, Drama Lessons, Role-play, Mime work, voice expansion, trust exercises, Workshops" />
<meta name="Description" content="Drama school for children, Artistic creativity, Teaching various skills such as, Role-play, Mime work, voice expansion, trust exercises,Workshops " />

</head>
<body>


<table width="1230" background="ma pics/12.jpg" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<h1>Marie Arts</h1></td>
</tr>
</table>

<h4 align="center">

<a href="2mariearts.htm" style="text-decoration:none">please
<img border="0" src="ma pics/cm4.jpg" align="middle" width="165" height="150" alt="mask"></img>
enter
</a>
</h4>
<pre>

</pre>
<h5>Drama and performance school</h5>
<hr />
</body>
</html>

Is This A Good Question/Topic? 0
  • +

Replies To: background tag not recognised

#2 axel  Icon User is offline

  • Bug Juice Doesn't Come in a Jar
  • member icon

Reputation: 2
  • View blog
  • Posts: 1,944
  • Joined: 31-December 06

Re: background tag not recognised

Posted 24 November 2007 - 07:12 PM

From what I can see, you have made about 5 of these same posts. You only need to do it once. and use code tags please. It helps everyone, and its the rules.
Was This Post Helpful? 0
  • +
  • -

#3 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 84
  • View blog
  • Posts: 3,564
  • Joined: 31-March 03

Re: background tag not recognised

Posted 24 November 2007 - 08:25 PM

You lack much panache. Your question has been answered not once but twice however you seem to lack the intelligence take that in.

Topic closed.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1