Author |
Message |
Anubis_The_Jackal
Court Jester
![](modules/Forums/images/avatars/4208f6973f8cc902be6ef.gif)
Joined: Sep 20, 2003
Posts: 106
|
Posted:
Fri Jul 22, 2005 7:07 am |
|
Ive worked and worked and worked on the theme on my new site, to figure out how to make it 100% compliant. I changed all the random & that were stuck in URL's with & I fixed some useless tags hanging around, ive done everything i could so the main page (im not attempting the forum for a dreadfully long time, 400+ errors just makes me want to throw nuke away) 100% 4.01 HTML Transitional Compliant.
The last two things I must fix, somehow (no knowlege of a good way to use CSS, trust me I have tried) is to replaced the <TD BACKGROUND (theme to psycho) and also <Table BORDERCOLOR (odd that that isnt allowed)
http://validator.w3.org/check?uri=http://mafiastation.com <-proof I worked for 3 days with no sleep
So the elimination of these two w3 evils would be nice. Yes I have many sites on thsi network and a few of them (dreadfully) have scrolling blocks. If that could be addressed it would also be a very good thing.
Edit: And yes Dreamweaver MX told me to use them. "BACKGROUND and BORDERCOLOR" They were options in the HTML tags. Blame them. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Fri Jul 22, 2005 8:07 am |
|
Well it can be a pain in the...
But i used wordpress a long time and found it a funny job getting it all validated .
I suggest you read closely what the errors say and they give you an idea whats wrong.
just edit directly onlune and make the changes.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Fri Jul 22, 2005 8:30 am |
|
Hi Anubis
Thanks for posting this publically as requested.
As promised, I will address your issues, but in kind of a round-about way.
Today, I am working on Part 1 of a series of articles meant to tackle compliance issues with PHP-Nuke. In that regard, as soon as I finish part 1, it will be posted at http://64bit.us and I will of course once again respond to this thread with the exact article link.
Regarding your specific problems, I thought I should mention that while the W3C is saying that you only have a couple errors, you in fact have 57 on your homepage.
Now I know what you are thinking... "WTF???" Well, the problem is because W3C is having some compliance validation issues right now with their free validator and I'm "assured" by W3C that they are working on addressing those issues. For a few days the CSS compliance validation functions were even off-line while they worked on the issues there as well.
Now... In reference to Dreamweaver itself. I've gotta start by saying that Dreamweaver is a heck of a lot closer to adhering to compliance standards than Adobe Photoshop. Adobe is just plain terrible at it, which is why there is no such thing as a compliant Nuke theme.
To make matters worse, PHP-Nuke itself is anything but compliant. PHP-Nuke 7.6 is probably the closest; however, PHP-Nuke 7.7 and PHP-Nuke 7.8 went in the opposite direction by actually removing compiance features (leave it to FB to make something worse).
I have addressed some of that in my article "Why You Should NOT Use PHP-Nuke 7.7 or 7.8" at http://64bit.us/article83.html
Now... onto the background images issue.
It's okay to have background colors and images; however, it's HOW you use the term itself. This goes to a root PHP-Nuke problem of commonly doing things like:
Code:<td background=\"themes/YOUR_THEME/whatever.gif\" width=\"100\" height=\"100\">
|
This in fact is a non-compliant method (which I will discuss at length in my article). On top of being non-compliant, it actually slows down load time in some browsers because they have to "interpret" how to handle this.
The proper method is to define it as a "style", which in fact it is.
So, given that, a background image (in order to be Compliant to W3C Presentation standards) should be defined like this:
Code:<td style=\"background-image: url(themes/YOUR_THEME/images/whatever.gif)\" width=\"100\" HEIGHT=\"100\">
|
Notice how the style is defined! That is very important and the reason why NOBODY (okay, except myself and ... now Raven ) has a compliant theme!
You will have to check your theme.php, your header and footer files for all instances of how background images are put in, and use the format described above to make them all compliant.
That should get you started until I finish my article!
Enjoy!
Steph |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
technocrat
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/d867b24b43a1b71491557.jpg)
Joined: Jul 07, 2005
Posts: 511
|
Posted:
Fri Jul 22, 2005 9:56 am |
|
I for one am looking forward to reading the article once you have finished. Trying to make Nuke WC3 complaint is a pain in the (well you know).
It makes me laugh everytime I see Nuke's complaint link and icon, what a lie that is. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jul 22, 2005 12:35 pm |
|
Well this is what phpnuke originaly says.....
PHP-Nuke is developed with a particular eye to the suggestions of the [http:/
/www.w3c.org] W3C, in its origin, the code is in fact W3C compliant and one
has validated both the code and the style sheets.
It is then up to the user
who intends to create a portal to adhere to these standards during the
modification of the graphics or the intrinsic characteristics of the system. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Jul 22, 2005 12:37 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Anubis_The_Jackal
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jul 22, 2005 1:01 pm |
|
And thus the next Wastelands was born in my head. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jul 22, 2005 1:26 pm |
|
creativity starts there...as they say.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon Aug 08, 2005 3:06 pm |
|
This promises to be an extremely intersting article, I am looking forward to submersing myself in it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 08, 2005 3:18 pm |
|
lol..i almost forgot this topic...
but what ehh..is submersing? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/4b126330458025ffa3940.gif)
Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI
|
Posted:
Mon Aug 08, 2005 5:35 pm |
|
hitwalker wrote: | lol..i almost forgot this topic...
but what ehh..is submersing? |
Submersing in this context means he is really gonna dig into it to absorb the knowledge that is shared.
I too look forward to this one as well. |
_________________ Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 08, 2005 5:42 pm |
|
oh like that....
Well thats not for me anymore.
It was a continues battle to keep everything valid when i was using wordpress as a blog.
But as soon as i added something to the site i had to dive in the code again.
So after a long time it takes the fun out of running a blog.
And if you have so much other things to do then you finaly give up... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|