1
Bananadude
What a mess..
  • 2005/11/11 21:53

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


W3.org reported 240 errors on my site
Lucky Xoops.org has only 11http://validator.w3.org/check?uri=www.xoops.org

This is something module-developers should think of :)
--- censored by Bananadude ---

2
Will_H
Re: What a mess..
  • 2005/11/12 0:21

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


chances are its your theme, if you set your theme to default i bet that number reduces radically. So theme developers should consider this.

3
script_fu
Re: What a mess..

WC3 will nail you on all kinds of stuff. I find its always my sloppy code that I put into custom blocks. This produces many errors this one is my most famous... & <--- Will get you every time... lol

4
Bananadude
Re: What a mess..
  • 2005/11/12 9:53

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


Quote:

script_fu wrote:
WC3 will nail you on all kinds of stuff. I find its always my sloppy code that I put into custom blocks. This produces many errors this one is my most famous... & <--- Will get you every time... lol


so I'm ain't the only one who hate W3C for reporting "&" as an error.

But if you use &*amp; you will get rid of the problem

(remove the star "*", it's only there so it wont show up like a "&" in the message.)
--- censored by Bananadude ---

5
Bananadude
Re: What a mess..
  • 2005/11/12 9:59

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


Quote:

Biteronboard wrote:
chances are its your theme, if you set your theme to default i bet that number reduces radically. So theme developers should consider this.


tried it and now it's reporting 237, it's reduced by three.

Edit WOW! sorry for blaming all our terrific developers, 227 of the errors was caused by a custom block I made!

Fixed 137 of them and now I "only" have 90 errors, which all is:
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
gotta quote all attributes with ->""<-
--- censored by Bananadude ---

6
script_fu
Re: What a mess..

I alway display the W3C code in a custom block on my websites. When ever I do anything to any of my sites I click the code to check for errors.

Like I said it's always sloppy code in a custom block!

7
script_fu
Re: What a mess..

Yes just like this...

<hr align="left" size="1"></hr>
<b><u>Used Auto Parts by Mr. Part...</u></b>
<hr align="left" size="1"></hr>

8
Bananadude
Re: What a mess..
  • 2005/11/12 20:24

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


I get 5 Error-messages with 7dana Xred theme that I dunno how to solve.

The errors at W3.org says:
ID "headmenu" already defined.
An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

Here is the HTML:
<tr
    <
td colspan="2"><table cellspacing="0" cellpadding="0" width="100%" border="0">
     <
tr align="center"
        <
td width="288" bgcolor="#770000"></td>
        <
td id="headmenu"><class="menuHead" 
        
href="<{$xoops_url}>/index.php">HOME</a></td>
                  
        <
td width="1" bgcolor="#d7d7d7"></td>
        <
td id="headmenu2"><class="menuHead2" 
    
href="<{$xoops_url}>/modules/news/">NEWS</a></td>

        <
td width="1" bgcolor="#d7d7d7"></td>
        <
td id="headmenu"><class="menuHead" 
        
href="<{$xoops_url}>/modules/newbb/">FORUM</a></td>

        <
td width="1" bgcolor="#d7d7d7"></td>
        <
td id="headmenu"><class="menuHead" 
        
href="<{$xoops_url}>/modules/tutorials/">TUTORIALS</a></td>

        <
td width="1" bgcolor="#d7d7d7"></td>
        <
td id="headmenu"><class="menuHead" 
        
href="<{$xoops_url}>/modules/mydownloads/">DOWNLOADS</a></td>

        <
td width="1" bgcolor="#d7d7d7"></td>
        <
td id="headmenu"><class="menuHead" 
        
href="<{$xoops_url}>/modules/contact/">CONTACT</a></td>
</
tr>
</
table></td>


and headmenu-declaration in the CSS-file is:
td#headmenu a
{
    
background-color#770000;
    
color#FFFFFF;
    
font-size10px;
    
displayblock;
    
padding8px;
}
td#headmenu a:hover
{
    
background-color#AB1410;
    
color#FFFFFF;
}
td#headmenu a.menuHead
{
    
font-size10px;
}


Thanks in andvance
--- censored by Bananadude ---

9
SevenD
Re: What a mess..
  • 2005/11/14 17:46

  • SevenD

  • Not too shy to talk

  • Posts: 143

  • Since: 2003/7/23


Never tested but try following:

In html code replace id="headmenu" with class="headmenu".
In the CSS file replace td#headmenu with td.headmenu.
Goran
www.7dana.com...

10
Bananadude
Re: What a mess..
  • 2005/11/15 11:25

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


Thanks, but it didn't work.
It made me validate, but the pagelook changed to =p (backgroundcolor for the top-menu disappeared)
--- censored by Bananadude ---

Login

Who's Online

256 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 256


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits