Forum Style
Moderator: Dream17 Staff
Forum Style
I'd suggest fixing it so it's actually Valid HTML 4.01 Transitional.
http://validator.w3.org/check?uri=http% ... Findex.php
14 errors.
I bet this is some kind of intentional plot by SupSuper because it's an affront to web standards so Firefox doesn't like it, and SupSuper doesn't like Firefox.
Or not. But either way, until it's fixed this forum is pretty much unusable under Firefox imo.
http://validator.w3.org/check?uri=http% ... Findex.php
14 errors.
I bet this is some kind of intentional plot by SupSuper because it's an affront to web standards so Firefox doesn't like it, and SupSuper doesn't like Firefox.
Or not. But either way, until it's fixed this forum is pretty much unusable under Firefox imo.
^^ CURSE YOU PHPBB!
Re: Forum Style
you're just trying to bug me, aren't you? i'm guessing yes, since the dream17 website has 100+ errors and i don't see you poking s2k about it.Alex wrote:I'd suggest fixing it so it's actually Valid HTML 4.01 Transitional.
http://validator.w3.org/check?uri=http% ... Findex.php
14 errors.
I bet this is some kind of intentional plot by SupSuper because it's an affront to web standards so Firefox doesn't like it, and SupSuper doesn't like Firefox.
Or not. But either way, until it's fixed this forum is pretty much unusable under Firefox imo.
first: no, it's not my fault, all the errors are from either s2k's or the skin maker's or phpBB's coding, not mine.
second: if the skin doesn't work right for you, just switch back to the standard phpBB skin in your Profile. i'm not gonna mess around with a skin i didn't make.
third: yes, i've tested it on Firefox (my dad uses it on his computer) and the skin does indeed display wrong, the tables formatting seems to be missing. again, that's the skin maker's fault, not mine. see above.
also, most of the errors are flukes. i'll explain each of them here:
this is the link that phpBB puts on every page back to the forum index. why is it wrong? i don't know. it's phpBB's coding so i'm not messing with it.1: Line 8, column 101: character data is not allowed here
...7bed89" title="Dream17 Forum Index" />
s2k's code for the mouseover effect on the menu options. fixed with <script type="text/javascript">2: Line 15, column 29: required attribute "TYPE" not specified
<script language="JavaScript">
3: Line 37, column 6: end tag for element "HEAD" which is not open
</head>
terribly wrong. there is an open <head> tag on line 3. why doesn't it find it, i don't know.
again, wrong. the <body> tag is right next to the </head> tag, so it's perfectly allowed. the fault of this fluke is probably this:4: Line 38, column 69: document type does not allow element "BODY" here
...5" text="#000000" link="#006699" vlink="#5493B4">
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
s2k's coding. according to Dreamweaver, it's a browser-specific property (meaning, not all browsers support it). don't know what it's for and it doesn't break anything so i'm not touching it.5: Line 41, column 57: there is no attribute "COLS"
<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH="750" >
s2k's coding. fixed with ...ALT="">6: Line 43, column 80: required attribute "ALT" not specified
...bar.gif" BORDER=0 height=66 width=750></a></td>
s2k's coding. fixed with <tr style="background-image: url(../standardisimo.gif)">7: Line 46, column 15: there is no attribute "BACKGROUND"
<tr BACKGROUND="../standardisimo.gif">
wrong. in fact, <td> is open right on the same line.8: Line 49, column 4: end tag for element "TD" which is not open
</td>
skin maker's flaw. fixed with ...ALT="">9: Line 64, column 100: required attribute "ALT" not specified
...pulse_04.gif" width="395" height="53"></TD>
can't find it (skins are split into various template files), probably skin maker's fault.10: Line 286, column 22: document type does not allow element "STYLE" here
<style type="text/css">
11: Line 302, column 88: cannot generate system identifier for general entity "u"
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..
12: Line 302, column 88: general entity "u" not defined and no default entity
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..
13: Line 302, column 89: reference to entity "u" for which no system identifier could be generated
.../phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a> ::
why is the validator picking so much on a simple link to the skin author's phpBB profile? there's nothing wrong with the URL or the tag, so it's just being stupid.14: Line 302, column 87: entity was defined here
...om/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>.
Team17 Forum Refugee | OpenXcom Developer
Re: Forum Style
"Or not" means just that - Or not. I was kidding, no need to become Mr Bitch. If you can't understand that then I've lost all hope in you.SupSuper wrote:you're just trying to bug me, aren't you? i'm guessing yes, since the dream17 website has 100+ errors and i don't see you poking s2k about it.
first: no, it's not my fault, all the errors are from either s2k's or the skin maker's or phpBB's coding, not mine.
second: if the skin doesn't work right for you, just switch back to the standard phpBB skin in your Profile. i'm not gonna mess around with a skin i didn't make.
third: yes, i've tested it on Firefox (my dad uses it on his computer) and the skin does indeed display wrong, the tables formatting seems to be missing. again, that's the skin maker's fault, not mine. see above.
And I've not bugged Ben because the errors don't cause the site to render horribly. I wasn't trying to "bug" you anyway, I'm trying to get Ben's forum to render properly in the browser I use, which is the second most widely used browser on the internet.
And even worse, you knew it rendered horribly in Firefox (which is far, far more popular than Opera and so how it appears in that is actually important) and you put it up anyway.
And lastly - I can't go back to the default style because as well as adding PurplePulse as a new style, you've replaced SubSilver with PurplePulse. So I *have* to use this. And it makes the forum nearly impossible to use.
3: Line 37, column 6: end tag for element "HEAD" which is not open
</head>
There is indeed an open <head> tag, but something inside the tag is breaking it.SupSuper wrote:terribly wrong. there is an open <head> tag on line 3. why doesn't it find it, i don't know.
4: Line 38, column 69: document type does not allow element "BODY" here
...5" text="#000000" link="#006699" vlink="#5493B4">
No, the body problem is because, as the validator picked up the <head> bit as invalid, the <body> tag is not allowed there. Fixing the <head> would remove the <body> one too.SupSuper wrote:again, wrong. the <body> tag is right next to the </head> tag, so it's perfectly allowed. the fault of this fluke is probably this:
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
5: Line 41, column 57: there is no attribute "COLS"
<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH="750" >
I assume it tells the browser the number of columns in the table. Utterly pointless and useless.SupSuper wrote:s2k's coding. according to Dreamweaver, it's a browser-specific property (meaning, not all browsers support it). don't know what it's for and it doesn't break anything so i'm not touching it.
Also, I don't see this error. I do however see:
And that's very true. COLSPAN declares the number of columns that the current <td> spans. That is a <table>, not a <td> so it makes no sense whatsoever and does nothing at all on any browser.Line 41, column 60: there is no attribute "COLSPAN"
<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLSPAN=1 WIDTH="750" >
8: Line 49, column 4: end tag for element "TD" which is not open
</td>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLSPAN=1 WIDTH="750" >SupSuper wrote:wrong. in fact, <td> is open right on the same line.
<tr>
<td><a href="../index.php"><img SRC="../topbar.gif" BORDER=0 height=66 width=750 ALT=""></a></td>
</tr>
<tr style="background-image : url(../standardisimo.gif)">
<td><a href="../softography_index.html"><img SRC="../menu_softography.gif" ALT="Softography+" BORDER=0 onmouseover="this.src='../menu_softography_rollover.gif'" onmouseout="this.src='../menu_softography.gif'" height=18 width=112></a><a href="../goodies_index.html"><img SRC="../menu_goodies.gif" ALT="Goodies" BORDER=0 onmouseover="this.src='../menu_goodies_rollover.gif'" onmouseout="this.src='../menu_goodies.gif'" height=18 width=71></a><a href="../fanstuff_index.html"><img SRC="../menu_fanstuff.gif" ALT="Fan-Stuff" BORDER=0 onmouseover="this.src='../menu_fanstuff_rollover.gif'" onmouseout="this.src='../menu_fanstuff.gif'" height=18 width=86></a><a href="../miscstuff_index.html"><img SRC="../menu_miscstuff.gif" ALT="Misc Stuff" BORDER=0 onmouseover="this.src='../menu_miscstuff_rollover.gif'" onmouseout="this.src='../menu_miscstuff.gif'" height=18 width=92></a><a href=""><img SRC="../menu_forum.gif" ALT="Dream17 Forum" BORDER=0 onmouseover="this.src='../menu_forum_rollover.gif'" onmouseout="this.src='../menu_forum.gif'" height=18 width=111></a><a href="../links.html"><img SRC="../menu_links.gif" ALT="Links" BORDER=0 onmouseover="this.src='../menu_links_rollover.gif'" onmouseout="this.src='../menu_links.gif'" height=18 width=57></a><a href="../staff.html"><img SRC="../menu_staff.gif" ALT="Staff" BORDER=0 onmouseover="this.src='../menu_staff_rollover.gif'" onmouseout="this.src='../menu_staff.gif'" height=18 width=62></a><a href="mailto:squirminator2k@alkhemia.com"><img SRC="../menu_contactus.gif" ALT="Contact Us" BORDER=0 onmouseover="this.src='../menu_contactus_rollover.gif'" onmouseout="this.src='../menu_contactus.gif'" height=18 width=95></a><a href="http://www.team17.com/" target="_blank"><img SRC="../menu_wmx.gif" ALT="Enter the WorMatriX" BORDER=0 onmouseover="this.src='../menu_wmx_rollover.gif'" onmouseout="this.src='../menu_wmx.gif'" height=18 width=64></a></td>
</tr>
</td>
</table>
Yes, it's wrong. Sure it is. That's why there's an EXTRA </td> tag.
10: Line 286, column 22: document type does not allow element "STYLE" here
<style type="text/css">
No, it's the fact that a <style> tag has been written and it's been told what the style TYPE is, but it's not been told where the css file is. It's an utterly pointless tag - It's like doing <a target="_BLANK">HELLO</a> - No href= means the tag is utterly pointless and a waste of time.SupSuper wrote:can't find it (skins are split into various template files), probably skin maker's fault.
11: Line 302, column 88: cannot generate system identifier for general entity "u"
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..
12: Line 302, column 88: general entity "u" not defined and no default entity
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..
13: Line 302, column 89: reference to entity "u" for which no system identifier could be generated
.../phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a> ::
14: Line 302, column 87: entity was defined here
...om/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>.
Replace the "&" in the URL with "&" and that'll be fixed. Possibly. I'm not too sure, I'm too tired to look at the code for long (It's 3 AM), and after your starting paragraph I'm not in the mood to help anyway.SupSuper wrote:why is the validator picking so much on a simple link to the skin author's phpBB profile? there's nothing wrong with the URL or the tag, so it's just being stupid.
p.s. The validator doesn't make mistakes. And fixing it is piss easy.
p.p.s. The CSS has errors, but all but two or so are just the fact that he's used the scrollbar colouring CSS which isn't actually valid CSS and I'll let that slide.
^^ CURSE YOU PHPBB!
- Squirminator2k
- Dream17 Founder
- Posts: 573
- Joined: Mon Feb 28, 2005 2:07 pm
- Location: Los Angeles, CA
- Contact:
It may be worth noting that as the majority of Dream17 was designed using Netscape Composer 4.7 and not, say, Dreamweaver, it is likely that mroe than a few errors exist. Indeed, loading pages into Dreamweaver does display a few errors that, considering the fact that there are 230 HTML pages to go through and they're all hard-coded, it's very tricky to repair. The site loads fine in Internet Explorer - no, I'm not using that as a defense, but I will point out that I was not using Firefox a year ago when the site first went online. It's only recently I discovered Firefox "bends" some pages.
I will do some tidying up at some point - I fully intend to move the site over to some sort of PHP script once I get my head around how it works - but for the moment we'll have to make do.
I will do some tidying up at some point - I fully intend to move the site over to some sort of PHP script once I get my head around how it works - but for the moment we'll have to make do.
PortsCenter - Gaming's forgotten history. A show all about unique video game ports.
Re: Forum Style
ok, sorry if i became Mr Bitch. i get easily moody at 2am, lack of sleep and all. but then that's my own fault for not bothering to go to a bed just some meters away from me.Alex wrote:"Or not" means just that - Or not. I was kidding, no need to become Mr Bitch. If you can't understand that then I've lost all hope in you.
And I've not bugged Ben because the errors don't cause the site to render horribly. I wasn't trying to "bug" you anyway, I'm trying to get Ben's forum to render properly in the browser I use, which is the second most widely used browser on the internet.
actually, no i didn't. i just thought for a moment on why exactly you complained (after the overreacting). and then a lightbulb popped up. and i went and tested it on Firefox. and everything made sense.And even worse, you knew it rendered horribly in Firefox (which is far, far more popular than Opera and so how it appears in that is actually important) and you put it up anyway.
well, not in Firefox, but... er, you know
actually, no i didn't.And lastly - I can't go back to the default style because as well as adding PurplePulse as a new style, you've replaced SubSilver with PurplePulse. So I *have* to use this. And it makes the forum nearly impossible to use.
wait, you're right, it doesn't work right. weird... maybe it's some forum bug. if i switch the default skin back to SubSilver it works, so it's... weird.
actually, you're getting it mixed up with the <link> tag, which can be used to link to external stylesheets. the <style> tag is to define CSS code in an HTML document, similiar to the <script> tag.10: Line 286, column 22: document type does not allow element "STYLE" here
<style type="text/css">No, it's the fact that a <style> tag has been written and it's been told what the style TYPE is, but it's not been told where the css file is. It's an utterly pointless tag - It's like doing <a target="_BLANK">HELLO</a> - No href= means the tag is utterly pointless and a waste of time.SupSuper wrote:can't find it (skins are split into various template files), probably skin maker's fault.
anyways, i meant that i couldn't find where the tag was. i found it now and fixed it.
NOT with skins with about 50 templates and you have no clue which one the problem could come from.11: Line 302, column 88: cannot generate system identifier for general entity "u"
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..12: Line 302, column 88: general entity "u" not defined and no default entity
...m/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>..13: Line 302, column 89: reference to entity "u" for which no system identifier could be generated
.../phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a> ::14: Line 302, column 87: entity was defined here
...om/phpBB/profile.php?mode=viewprofile&u=63444" target="_blank">Kevsgsm78</a>.Replace the "&" in the URL with "&" and that'll be fixed. Possibly. I'm not too sure, I'm too tired to look at the code for long (It's 3 AM), and after your starting paragraph I'm not in the mood to help anyway.SupSuper wrote:why is the validator picking so much on a simple link to the skin author's phpBB profile? there's nothing wrong with the URL or the tag, so it's just being stupid.
p.s. The validator doesn't make mistakes. And fixing it is piss easy.
anyways, i've fixed all the errors except one, which i STILL can't figure out the problem. if the skin still doesn't work right on firefox just download the skin and see if you can find what's wrong, because i can't. and it works fine on Opera
also, i gotta look into the whole "skin not changing" thing. hmmm... weird is, you get the right skin on the Topic Review box when you post a reply
i've been meaning to learn PHP too, but the uber-size of the manual scares me. specially because i wanted to print it, but i'd either run out of paper or blow up my old printer, whichever came firstSquirminator2k wrote:It may be worth noting that as the majority of Dream17 was designed using Netscape Composer 4.7 and not, say, Dreamweaver, it is likely that mroe than a few errors exist. Indeed, loading pages into Dreamweaver does display a few errors that, considering the fact that there are 230 HTML pages to go through and they're all hard-coded, it's very tricky to repair. The site loads fine in Internet Explorer - no, I'm not using that as a defense, but I will point out that I was not using Firefox a year ago when the site first went online. It's only recently I discovered Firefox "bends" some pages.
I will do some tidying up at some point - I fully intend to move the site over to some sort of PHP script once I get my head around how it works - but for the moment we'll have to make do.
you can always try using one of those PHP systems, like XOOPS.
Team17 Forum Refugee | OpenXcom Developer
The error that is caused by the & not being a & is due to the stuff PHP sessions adds to all the links in the page if the browser doesn't have cookies turned on (which the W3C validators don't). You need to edit the php.ini file on your web server and change the "arg_separator.output = &" in it to "arg_separator.output = &". If you don't have access to this file, then you can do it by adding the following to the top of all pages that use sessions:
If you do it this second way, it must be the first thing in the file, before even the <!doctype> and <html> tags.
The second way sounds like a gruelling task, but you can do a simple search and replace for all files that have:in them.
Code: Select all
<?php
ini_set("arg_separator.output", "&");
session_start();
?>
The second way sounds like a gruelling task, but you can do a simple search and replace for all files that have:
Code: Select all
<?php
session_start();
?>
Ben Paddon is a Horse.
- Squirminator2k
- Dream17 Founder
- Posts: 573
- Joined: Mon Feb 28, 2005 2:07 pm
- Location: Los Angeles, CA
- Contact:
I'm ressurrecting an old thread, but for a relevant reason. Just wanted to point out that the mouseover code for the Top Menu (Softography+, Goodies, etc.) was put together by K^2, who also put the code together for the mouseover effect on most of Dream17's buttons (where they move down and along one pixel). K^2 was probably the first person to see Dream17 in it's pre-BETA stages - him and Test Zero, at least.
PortsCenter - Gaming's forgotten history. A show all about unique video game ports.
- Paul.Power
- He Rocketh So
- Posts: 99
- Joined: Thu May 12, 2005 12:09 pm
- Location: Swansea
*tries using that website*
Hmm... Boot Camp's main page generated 288 errors.
Most of them are 'element "BR" undefined'. News to me they don't like that tag any more.
Hmm... Boot Camp's main page generated 288 errors.
Most of them are 'element "BR" undefined'. News to me they don't like that tag any more.
"Spam is the filling in the sandwich of forum life"
Here, have some Let's Plays: Advance Wars 2 | Advance Wars
Here, have some Let's Plays: Advance Wars 2 | Advance Wars