Welcome, Guest. Please Login or Register.
June 26, 2024, 09:34:21 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  General Category  |  Feedback  |  Some things still don't validate « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Some things still don't validate  (Read 1117 times)
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Some things still don't validate
« on: March 16, 2003, 08:50:18 PM »
Reply with quote

I know we've been round and round in circles about this valid HTML/XHTML business, but there are still things that don't validate in YaBB SE!

Sure, the default template is valid and remains valid if you avoid some features and/or your users don't post stuff that messes it up, but I've been running a few pages on our new graphics forums through the W3C validator and discovered several problems including the following:

  • Lists don't validate (try this page and see)!
  • Attachments displayed as images appear to be missing any form of alt text.
  • One of the source files (can't remember which offhand) includes <hr color=gray size="1" />, which certainly isn't XHTML valid.
  • It's still too easy to use an invalid signature because each sig is contained in a single, inline <font> element.
It's a pity these things are like that, but IMHO there's little point in having a valid empty template if it breaks the moment folk start posting to it. Perhaps someone from the dev team could be looking into this, because there really are a few little things to be sorted out. :-\
« Last Edit: March 16, 2003, 08:53:37 PM by Peter Duggan » Logged

Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Some things still don't validate
« Reply #1 on: March 17, 2003, 05:47:16 PM »
Reply with quote

u're right, there's no closing </li> tag :-\

something like this is also invalid:
testtest[/u]
[b][u]testtest[/b][/u]
but that will be the user's fault...
« Last Edit: March 17, 2003, 05:48:18 PM by Spaceman-Spiff » Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Some things still don't validate
« Reply #2 on: March 18, 2003, 09:21:02 AM »
Reply with quote

I agree that it is too bad that some things still don't validate as XHTML 1.0. Especially since neither of the things Peter mentioned should be very hard to fix - Just a matter of adding </li> tags, adding alt attributes to images (empty alt texts would be enough) and use, for instance, div instead of font to contain signatures...
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Some things still don't validate
« Reply #3 on: March 18, 2003, 09:25:30 AM »
Reply with quote

Quote from: Daniel Hofverberg on March 18, 2003, 09:21:02 AM
I agree that it is too bad that some things still don't validate as XHTML 1.0. Especially since neither of the things Peter mentioned should be very hard to fix - Just a matter of adding </li> tags, adding alt attributes to images (empty alt texts would be enough) and use, for instance, div instead of font to contain signatures...


Divs aren't used because of evil ol' NS.  This has been covered numerous times.

If adding </li> is so easy, how do you propose it be done?

Rgiht now:

[ * ] = <li>

Would you have it be:

[ * ] = </li><li>

But, then it would look like this:

<ul></li><li></ul>

There are reasons, you know, why list items aren't valid..... I'll try to think of a good solution.

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Some things still don't validate
« Reply #4 on: March 18, 2003, 09:27:07 AM »
Reply with quote

maybe by adding a [/*]?
the code looks ugly tho, but that doesnt matter much :P
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Some things still don't validate
« Reply #5 on: March 18, 2003, 04:18:05 PM »
Reply with quote

Quote from: [Unknown] on March 18, 2003, 09:25:30 AM
Divs aren't used because of evil ol' NS.  This has been covered numerous times.
Really...? I have never experienced any problems with div tags... What about single cell tables then, with width="100%" border="0" and put signatures inside of that? Would that work? It should be functionally equivalent to div elements, and should validate as tables are block-level elements...
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Some things still don't validate
« Reply #6 on: March 18, 2003, 06:42:08 PM »
Reply with quote

Quote from: Daniel Hofverberg on March 18, 2003, 04:18:05 PM
Quote from: [Unknown] on March 18, 2003, 09:25:30 AM
Divs aren't used because of evil ol' NS.  This has been covered numerous times.
Really...? I have never experienced any problems with div tags... What about single cell tables then, with width="100%" border="0" and put signatures inside of that? Would that work? It should be functionally equivalent to div elements, and should validate as tables are block-level elements...


But then IE 5.5 users would see the text in a funky size!

-[Unknown]
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Some things still don't validate
« Reply #7 on: March 18, 2003, 07:47:09 PM »
Reply with quote

Quote from: [Unknown] on March 18, 2003, 06:42:08 PM
Quote from: Daniel Hofverberg on March 18, 2003, 04:18:05 PM
What about single cell tables then, with width="100%" border="0" and put signatures inside of that? Would that work? It should be functionally equivalent to div elements, and should validate as tables are block-level elements...
But then IE 5.5 users would see the text in a funky size!
What about associating that table with a new CSS class then...? That must work...!
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Some things still don't validate
« Reply #8 on: March 21, 2003, 07:10:43 AM »
Reply with quote

older browsers dont support css well
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  Some things still don't validate « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.324 seconds with 20 queries.