Welcome, Guest. Please Login or Register.
April 26, 2025, 11:46:21 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  General Category  |  Feedback  |  Let's list the non-XHTML stuff that we can find :) « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Let's list the non-XHTML stuff that we can find :)  (Read 1256 times)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Let's list the non-XHTML stuff that we can find :)
« on: March 01, 2003, 12:34:55 AM »
Reply with quote

i found this today: the category and board title should be checked to convert '&' into '&', maybe it affects a few other characters too, like copyright sign
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #1 on: March 01, 2003, 01:57:53 AM »
Reply with quote

<font> should be removed.

Certain attributes on tags should be removed. Like border="0" on images, align="center" on pretty much everthing.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Let's list the non-XHTML stuff that we can find :)
« Reply #2 on: March 01, 2003, 02:09:33 AM »
Reply with quote

arent those for XHTML 1.1?

News.php isnt valid XHTML 1.0 too, but i think its been fixed
« Last Edit: March 01, 2003, 02:10:26 AM by Spaceman-Spiff » Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #3 on: March 01, 2003, 02:19:45 AM »
Reply with quote

Quote from: Gobalopper on March 01, 2003, 01:57:53 AM
<font> should be removed.

Certain attributes on tags should be removed. Like border="0" on images, align="center" on pretty much everthing.

No!  If you remove border="0" from img tags, all images that are links will get boxes around them... EVEN IN CURRENT BROWSERS!!! That's definitely a bad thing.

I think align="center" is kept for compatiblity with Netscape 4.7.  Please, people, stop using it.... please.

-[Unknown]
Logged
Joel
Jr. Member
**
Posts: 50


Thanks YaBB SE Devs!

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #4 on: March 01, 2003, 02:28:47 AM »
Reply with quote

Quote from: [Unknown] on March 01, 2003, 02:19:45 AM

No!  If you remove border="0" from img tags, all images that are links will get boxes around them... EVEN IN CURRENT BROWSERS!!! That's definitely a bad thing.

Adding "img { border: 0 }" to the stylesheet will fix that.

Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #5 on: March 01, 2003, 02:31:25 AM »
Reply with quote

Quote from: Joel on March 01, 2003, 02:28:47 AM
Quote from: [Unknown] on March 01, 2003, 02:19:45 AM

No!  If you remove border="0" from img tags, all images that are links will get boxes around them... EVEN IN CURRENT BROWSERS!!! That's definitely a bad thing.

Adding "img { border: 0 }" to the stylesheet will fix that.



What was that I said about "trying to support dinosaur *coughnetscapecough* browsers?

-[Unknown]
Logged
Joel
Jr. Member
**
Posts: 50


Thanks YaBB SE Devs!

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #6 on: March 01, 2003, 05:42:22 AM »
Reply with quote

NS4 compatibility shouldn't even be considered. It just allows those that still use it to think their browser is still A-OK.
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #7 on: March 01, 2003, 08:50:29 AM »
Reply with quote

Isn't font is deprecated now? Meaning it shouldn't be used, use something like span instead if you still want the font size everywhere, another bad practice in my opinion.
And I remember reading that the next YaBB wouldn't try bad hacks to make the board look good in NS 4.

Things like <table align="center"> should not be used. There are a few others, I've converted my board to be XHTML 1.1 compliant and there was a bunch of things that needed to change, can't remember them all now.

Which XHTML version/type are we are trying to comply with?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #8 on: March 01, 2003, 08:55:21 AM »
Reply with quote

As you can see at the bottom of every page, YaBB SE complies with xhtml 1.0 transitional.

Normally, my code is usually xhtml 1.0 strict.  I don't use font or anything like that, but I do some things that 1.1 doesn't like.

I don't care nearly as much for standards (although I do) as for compatibility.  I want it to work in as many browsers as possible... even if that makes it invalid.  However, I strive for the best of both worlds... which nearly always means going with a slightly older schema.

-[Unknown]
Logged
Manco
Beta Tester
Sr. Member
****
Posts: 420


WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #9 on: March 01, 2003, 03:23:41 PM »
Reply with quote

I supposed it is a long ways off before getting rid of nested tables completely and going with a tableless design using CSS positioning.
Logged

andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #10 on: March 01, 2003, 05:38:54 PM »
Reply with quote

Quote from: [Unknown] on March 01, 2003, 08:55:21 AM
I don't care nearly as much for standards (although I do) as for compatibility.  I want it to work in as many browsers as possible... even if that makes it invalid.  However, I strive for the best of both worlds... which nearly always means going with a slightly older schema.

Fully agree with that. It would be very wrong to support the newer browsers only. I also think it is very important to support as many browsers as possible.
Logged

Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #11 on: March 01, 2003, 08:19:12 PM »
Reply with quote

The layout should still work in older browsers especially if you still use tables. It may not look pretty but it should still work.
Logged
Michele
Beta Tester
YaBB God
*****
Posts: 584


I can't wait for YaBB SE 2!

Mad+Moya WWW
Re:Let's list the non-XHTML stuff that we can find :)
« Reply #12 on: March 01, 2003, 08:31:09 PM »
Reply with quote

Actually, for us web admins sake, you should remove the font sizes from all the files in the Sources directory... it screws up nearly every innovative template out there. :)

Define a set of sizes in the CSS (preferably, x-small, small, etc) for each class/id and be done with it. For my site, I use small for normal text and x-small for small text. When you combine px sizes in the CSS with <font size=> in the sources files, you turn scalable fonts into non-scalable fonts.

Then, get rid of all the NTS tables (Nested Table Syndrome). Learn how to do cool borders with the CSS and forget about Netscape4 and get rid of those extra tables! And don't forget to use <th> when appropriate.

For the tables that are left, add a title=, summary= and/or <caption> tag to them to improve Accessibility. I haven't found a way to remove the tables from the Sources files, but I think basic table structure in there is fine. If you set up the CSS properly, we can still maintain flexibility.

Thanks for listening, Michele
Logged

formerly Mad Moya
PfaBB - http://pfabb.lunabyte.com
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  Let's list the non-XHTML stuff that we can find :) « 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 1.450 seconds with 19 queries.