Lost Password?


  #1 (permalink)  
Old 04-28-2008, 06:41 PM
polyvios_s polyvios_s is offline
Newbie
 
Join Date: Apr 2008
Posts: 9
Rep Power: 0
polyvios_s is on a distinguished road
Default [Fixed] XHTML validation

Has anyone tried to make the printed page validate with XHTML?

Would it be breaking user agreement if I tried to make mine work like that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-28-2008, 07:18 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: XHTML validation

Not at all. You can do whatever you like ionFiles. If you do make it XHTML valid, let us know what you changed and/or post the final version here so that we can add your changes to the official version.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-29-2008, 02:44 AM
polyvios_s polyvios_s is offline
Newbie
 
Join Date: Apr 2008
Posts: 9
Rep Power: 0
polyvios_s is on a distinguished road
Default Re: XHTML validation

Didn't figure I could make this work but the downloads page is pretty much configured with the exception of tr id being defined a couple of times more than it should.

Just erase $rowId from lines 358 and 471 of ionfiles.php

Before - Line 358:
PHP Code:
print "<tr id=\"$rowId\"><td width=\"100%\" colspan=\"$colCount\" class=\"sectiontableheader\">"
Before - Line 471:
PHP Code:
print "<tr id=\"$rowId\"><td colspan=\"$colCount\"><br /></td></tr>"
After - Line 358:
PHP Code:
print "<tr><td width=\"100%\" colspan=\"$colCount\" class=\"sectiontableheader\">"
After - Line 471:
PHP Code:
print "<tr><td colspan=\"$colCount\"><br /></td></tr>"
Not sure if this is a proper fix or a workaround, not even sure if it will work for different setups than mine... but for me it validates through w3c now if I can just figure out why I cant style "contentheading"

Last edited by polyvios_s; 04-29-2008 at 02:45 AM. Reason: I R the worlds worst typist
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-29-2008, 07:38 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: XHTML validation

Excellent, I'll make these changes to the official version for the next release. You should be able to change the style of "contentheading" in your CSS files.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-29-2008, 02:22 PM
polyvios_s polyvios_s is offline
Newbie
 
Join Date: Apr 2008
Posts: 9
Rep Power: 0
polyvios_s is on a distinguished road
Default Re: XHTML validation

the "contentheading" thing was a conflict I probably wouldn't have noticed without ionfiles, had it defined twice

Found a new cause of XHTML verification failure though, when not using a single word for a category title one of the table id's fails since spaces are not allowed. Two ways around this that I can think of:
  1. Couple of codelines to strip the spaces before using the title for the table id.
  2. using category id instead of the title for the table id


I'll take a look at it after the weekend when I'll be working on my downloads area, for now my workaround is simply to use single word category titles!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Class John Classes and Code Snippets 4 10-12-2008 08:49 PM
XHTML / CSS Book Jordan HTML Programming 2 04-09-2008 04:20 PM
Xhtml strict 1.0 vs xhtml 1.1 Jaser HTML Programming 3 11-08-2007 01:34 PM
Is a Mix of XHTML Strict and Transitional Pages OK? Carrym HTML Programming 4 04-10-2007 10:49 AM
What is HTML, DHTML and XHTML? Lop HTML Programming 5 08-09-2006 12:00 PM


All times are GMT -5. The time now is 11:51 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads