2 yabba Apr 26, 2007 09:08
![](https://forums.b2evolution.net/media/users/yabba/profile_pictures/.evocache/1693279350432fc95d975f2.jpg/crop-top-80x80.jpg?mtime=1372015408)
Ahh I see.
But, can't we make it valid strict instead as part of b2e itself? I mean, there's CSS, and the web is going to the direction of 'strict' DTDs.
Additionally, those are the only parts left that's not validating against strict, most of the other parts were cleaned up, so was suggesting, let's clean it up all-the-way?
Dunno, just a thought, we have default b2e CSS files anyway.
My main concern only is, to have less php stuff or avoiding editing the core files, which when there's a new b2e, we tend to forget to add the clean-up stuff.
Haven't check if b2e validates against XHTML 1.1 which is strict DTD only. Have to try that, if it validates without the transitional border and stuff, I think it will be great to add to b2e's reputation as validating to XHTML 1.1 ;)
Well, just my view. Anyway, W3C said we use the strict as much as possible. b2e is very close... just those border and align attributes are left and we can tell the whole world we're clean strict.
I agree, I always aim to conform to strict I just got fed up of hacking the files with every upgrade so I went with a variation of the solution above.
Since then I've changed to a simpler solution .... I don't use their icons :P
¥
¥åßßå wrote:
I agree, I always aim to conform to strict I just got fed up of hacking the files with every upgrade so I went with a variation of the solution above.
Since then I've changed to a simpler solution .... I don't use their icons :P
¥
The php clean-up option is great, though I just to avoid additional parsing stuff if possible.
I'm actually thinking of dropping the icons myself... for the sake of strict DTD, hehe.
Anyway thanks! Just going back to my roots of conforming to the latest standard... I stopped doing so since CMS'es appeared, which are mostly non-conforming (the days when Nuke CMS'es dominates the market).
Have to get used to strict again, and I want to start with my blog... hehe.
Hoping b2e v2.0 will validate at least to XHTML 1.0 Strict then.
^_^
I just add the following to the CSS file.... ( a lazy fix )
.bSmallHead img{display:none;}
.bSmallPrint img{display:none;}
.bCommentSmallPrint img{display:none;}
Since 1.10.x you should find that setting $use_strict = true in conf/_formatting.php makes the core spit out valid code.
There's also a couple of new settings to allow id & style for posts / comments in the same file ;)
¥
Thanks for that tip ¥åßßå.
These things get easily forgotten :)
This has been raised before and the answer was "it's valid transitional" :S
One solution is this :-
;)
¥