Jump to content

wottynot

Members
  • Posts

    10
  • Joined

  • Last visited

wottynot's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I tried to validate the web page and yet again the same two errors appeared. 1) Line 3, Column 16: Element noframes not allowed as child of element head in this context. (Suppressing further errors from this subtree.) 2) Line 3, Column 16: The noframes element is obsolete. Use the iframe element and CSS instead, or use server-side includes. Could these errors be generated because of the web host i am using?
  2. Hi Ingolme Here's all the code <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Championship League Table</title> <link rel="stylesheet" type="text/css" href="footie-styles.css"></head><body><div id="div"><table class="list"><caption class="captn">Championship League Table 2015-16</caption></table><table class="list2"><thead><tr><th colspan="6" style="border:0"></th><th colspan="5" style="border:0; text-decoration:underline">Home</th><th colspan="7" style="border:0; text-decoration:underline">Away</th><th style="border:0; text-decoration:0"></th><th style="border:0; text-decoration:0"></th><th style="border:0; text-decoration:0"></th></tr><tr><th class="Pos">Pos</th><th class="blank"> </th><th class="Teams">Teams</th><th class="blank"> </th><th class="Pld">Pld</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th class="GD">GD</th><th class="blank"> </th><th class="Pts">Pts</th></tr></thead><tbody><tr><td colspan="21" style="height: 5px"></td></tr><tr class="box"><td>1</td><td class="blank"></td><td class="oppo"><a href="http://www.afcb.co.uk" target="_blank">Bournemouth</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>13</td><td>7</td><td>3</td><td>48</td><td>25</td><td class="blank"></td><td>13</td><td>5</td><td>5</td><td>50</td><td>20</td><td class="blank"></td><td class="GD">53</td><td class="blank"> </td><td class="Pts">90</td></tr><tr class="box"><td>2</td><td class="blank"></td><td class="oppo"><a href="http://www.watfordfc.com" target="_blank">Watford</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>14</td><td>4</td><td>5</td><td>48</td><td>22</td><td class="blank"></td><td>13</td><td>4</td><td>6</td><td>43</td><td>28</td><td class="blank"></td><td class="GD">41</td><td class="blank"> </td><td class="Pts">89</td></tr><tr><td colspan="21"><hr style="width:100%"></td></tr><tr class="box"><td>3</td><td class="blank"></td><td class="oppo"><a href="http://www.canaries.co.uk" target="_blank">Norwich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>12</td><td>6</td><td>5</td><td>50</td><td>24</td><td class="blank"></td><td>13</td><td>5</td><td>5</td><td>38</td><td>24</td><td class="blank"></td><td class="GD">40</td><td class="blank"> </td><td class="Pts">86</td></tr><tr class="box"><td>4</td><td class="blank"></td><td class="oppo"><a href="http://www.mfc.co.uk" target="_blank">Middlesbrough</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>42</td><td>12</td><td class="blank"></td><td>10</td><td>5</td><td>8</td><td>26</td><td>25</td><td class="blank"></td><td class="GD">31</td><td class="blank"> </td><td class="Pts">85</td></tr><tr class="box"><td>5</td><td class="blank"></td><td class="oppo"><a href="http://www.brentfordfc.co.uk" target="_blank">Brentford</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>12</td><td>6</td><td>5</td><td>46</td><td>28</td><td class="blank"></td><td>11</td><td>3</td><td>9</td><td>32</td><td>31</td><td class="blank"></td><td class="GD">19</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>6</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr><td colspan="21"><hr style="width:100%"></td></tr><tr class="box"><td>7</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>8</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>9</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>10</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>11</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>12</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr></tbody></table></div></body></html>
  3. I always try and get any web pages i construct validated but for some reason the webpage has two problems for which i cannot find a remedy for. 1) No characater encoding found! Falling back to utf-8. But i did include <meta charset="utf-8"> in the head of the webpaage? 2) The noframes element is obsolete. Use the iframe element and CSS instead. Or use server-side includes. I have never come across this problem before. <!doctype html><html lang="en"><head> <title>Championship League Table</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="footie-styles.css"></head>
  4. I stand corrected yet again but thanks all the same dsonesuk
  5. The extra row of boxes were the result of a typo which i have now corrected. I have now also closed all <td class="blank"> with the required </td>. Big thanks to you both for the help and explantion. Sadly, i don't fancy Brentford to win the playoffs. Although if they did win i would be the first to congratulate them.
  6. I'm still none the wiser lol. But thanks for the reply dsonesuk
  7. If you should look at my web page i am in the midst of constructing you will notice that i have added "Home" and "Away" above the two main columns. And although they are in the position i want them i haven't got a clue how i managed to achive it. I have used "colspan" to get the desired result. Would really appreciated it if someone could tell me if i have coded this correctly. I used the following code: <thead><tr><th colspan="6" style="border:0"></th><th colspan="5" style="border:0; text-decoration:underline">Home</th><th colspan="7" style="border:0; text-decoration:underline">Away</th></tr><tr><th class="Pos">Pos</th><th class="blank"> </th><th class="Teams">Teams</th><th class="blank"> </th><th class="Pld">Pld</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th class="GD">GD</th><th class="blank"> </th><th class="Pts">Pts</th></tr></thead> You can view the web page here: http://www.freewebs.com/diarco/champtable.html I hope that i have posted in the correct place this time. Big thanks for any help and advice.
  8. Big thanks for the help Ingolme.
  9. I have been trying to construct a football league table in time for the new 2015-16 season. I started well, i think lol. But i can't for the life of me remember how to center the web page onto the center of the screen. Hope someone will take pity on this old codger and help him out. You can see the web page here http://www.freewebs.com/diarco/champtable.html <!doctype html><html lang="en"><head> <title>Championship League Table</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="footie-styles.css"></head><body><div id="div"><table class="list"><caption class="captn"><h1 align="center">Championship League Table 2015-16</h1></caption></table><table class="list2" cellspacing="0"><thead><tr><th class="Pos">Pos</th><th class="blank"> </th><th class="Teams">Teams</th><th class="blank"> </th><th class="Pld">Pld</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th class="GD">GD</th><th class="blank"> </th><th class="Pts">Pts</th></tr></thead><tbody><tr><td colspan="20" height="5"></td></tr><tr class="box"><td>1</td><td class="blank"><td>Bournemouth</td><td class="blank"><td>46</td><td class="blank"><td>13</td><td>7</td><td>3</td><td>48</td><td>25</td><td class="blank"></td><td>13</td><td>5</td><td>5</td><td>50</td><td>20</td><td class="blank"><td class="GD">53</td><td class="blank"> </td><td class="Pts">90<td></tr></tbody></table></div></body></html> And the CSS body { margin: 0 auto; padding: 0;}#div { width: 817px; margin-right:auto; margin-left:auto; margin: 50px 0 50px 0; border: 1px solid red;}.list { width: 797px; margin-right:auto; margin-left:auto; border: 0; padding: 0 10px 0 10px; }th { width: 30px; margin-right: 3px; border-bottom-style: solid;}td { width: 30px; text-align:center;}.captn { font-size: 16px; text-decoration: underline;} .blank { width: 30px; border: 0;}.Pos { width: 35px;}.Pld { width: 35px;}.GD { width: 35px; margin-right: 3px;}.Pts { width: 35px; margin-right: 3px;}.Teams { width: 150px;}tr.box:hover { background-color: #F0F0F0;}
  10. Hello everyone! I am a rapidly aging HTML and CSS novice trying to learn all i can about Web design. Thanks
×
×
  • Create New...