Closed Thread
Results 1 to 5 of 5

Thread: [Fixed] XHTML validation

  1. #1
    polyvios_s is offline Newbie
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    [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?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    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.

  4. #3
    polyvios_s is offline Newbie
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    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:
    Code:
    print "<tr id=\"$rowId\"><td width=\"100%\" colspan=\"$colCount\" class=\"sectiontableheader\">"
    Before - Line 471:
    Code:
    print "<tr id=\"$rowId\"><td colspan=\"$colCount\"><br /></td></tr>"
    After - Line 358:
    Code:
    print "<tr><td width=\"100%\" colspan=\"$colCount\" class=\"sectiontableheader\">"
    After - Line 471:
    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-28-2008 at 11:45 PM. Reason: I R the worlds worst typist

  5. #4
    Jordan Guest

    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.

  6. #5
    polyvios_s is offline Newbie
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    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!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. XHTML in PHP
    By ravendawson in forum PHP Development
    Replies: 1
    Last Post: 12-30-2010, 06:17 PM
  2. Serving XHTML in PHP
    By phillw in forum PHP Development
    Replies: 3
    Last Post: 12-30-2010, 08:14 AM
  3. XHTML
    By toxifyshadow in forum JavaScript and CSS
    Replies: 6
    Last Post: 04-13-2010, 04:32 PM
  4. What do you think about XHTML ?
    By stykat in forum HTML Programming
    Replies: 14
    Last Post: 11-02-2009, 02:42 PM
  5. Xhtml strict 1.0 vs xhtml 1.1
    By Jaser in forum HTML Programming
    Replies: 3
    Last Post: 11-08-2007, 10:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts