W3C Validation - how important is it?
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #7
RE: W3C Validation - how important is it?
I have spent all morning (and most of last night) working on this. I now have 21 errors, but I think they may be rooted in an error in my forum display. Based on the help from Mattf I think I should maybe solve this first before I dig around in the rest of the TD/TR tags.

http://easycaptures.com/fs/uploaded/363/2722247092.jpg (screenshot of error message)

This is the code I put in my forumdisplay - I called it book_forumdisplay in the global templates so it is applicable only to the book forum using my "book" templates.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}
{$rules}
{$subforums}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="18%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr><td class="thead"><strong>Books</strong></td></tr>
<tr><td class="trow1"><img src="http://www.leefish.nl/SiteImages/bookmarksite.jpg" alt="books" /></td></tr>
</table>
<td valign="top">
{$threadslist}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0">
<tr>
<td align="left">{$usersbrowsing}</td>
<td align="right">{$newthread}</td>
</tr>
</table>
{$permission_box}
{$footer}
</body>
</html>


The error is on line 24 - but if I take that line out then the layout breaks and I get the result as in the picture below:

http://easycaptures.com/fs/uploaded/363/3008843188.jpg

I am not sure how to fix this. Can anyone help?



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 06-12-2010 10:57 PM by leefish.)
06-12-2010 10:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: W3C Validation - how important is it? - leefish - 06-12-2010 10:55 PM

 Standard Tools
Forum Jump: