Topic: punBB not CSS compliant ?

Hi,

when i try to validate my forum the jigsaw validator tells me its not CSS valid,
so i try with punBB.org and here is the result :
http://jigsaw.w3.org/css-validator/vali … Findex.php

any chance to have a CSS valid forum ? wink

regards.

Re: punBB not CSS compliant ?

It is valid: check the actual code itself tongue
It's a mistake in the validator wink

Re: punBB not CSS compliant ?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272

You could set the line-height to 0.0 as a workaround I expect.

Re: punBB not CSS compliant ?

Nibbler(cpg) wrote:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272

You could set the line-height to 0.0 as a workaround I expect.

thanks !
perfect !

5 (edited by Rador8 2011-02-27 16:10)

Re: punBB not CSS compliant ?

foxmask wrote:

when i try to validate my forum the jigsaw validator tells me its not CSS valid,

I wanted to tell it just now smile

Re: punBB not CSS compliant ?

Nibbler(cpg) wrote:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272

You could set the line-height to 0.0 as a workaround I expect.

My apologies for dragging up this old thread, but I would like to suggest an addition to this solution. Instead of converting all the values to 0.0 you can also add 'px' to them;

.pun .clearer, .pun .nosize {
    HEIGHT: 0px;
    WIDTH: 0px;
    LINE-HEIGHT: 0px;
    FONT-SIZE: 0px;
    OVERFLOW: hidden
}

base.css, line 23 to 29

I think it would be worth it if either one of these solutions would be adapted in the PunBB package, since it is the only CSS error that the standard theme contains. If corrected, PunBB('s Oxygen) will validate as fully Strict XHTML 1.0 and CSS - which simply ís something nice for the developers to brag about, imo wink.

7

Re: punBB not CSS compliant ?

You are missing the whole point. The css conforms to the CSS 2.0 standard and is perfeclty valid. There is no error. We can already brag about that. What makes something valid is complying with the relevant standard not being passed by a rather buggy automated validator.

Re: punBB not CSS compliant ?

nah Paul its you who is missing the point wink It actually being valid has nothing to do with it, we want to be able to put a "Valid CSS" icon on our sites to show off tongue

Incase anyone is unsure i'm joking wink

9

Re: punBB not CSS compliant ?

The latest news is that there is a patch for the validator up for review at the moment so the bug is going to get fixed soon anyway.

What will really get interesting is when we all start using CSS 2.1, interesting because the validator is checking CSS 2.0.

Re: punBB not CSS compliant ?

Connorhd wrote:

It actually being valid has nothing to do with it, we want to be able to put a "Valid CSS" icon on our sites to show off tongue

Most of the websites that I come across that have such an icon are nót valid, and vice versa.

My bad, I thought it was more logical to add something anyhow...