TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,027
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 308
  • Total: 309
  • lurkalot

XHTML 1.0 Transitional compliance..

Started by TestMonkey, January 30, 2007, 02:17:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TestMonkey

If you check most any TP theme's w3c compliance they fail.

Valid XHTML 1.0 Transitional means closing every single html/xhtml entity/tag..
Basically any short tag that doesn't normally have a </closing> entity should <close/> themself..

I would much appreciate some feedback helping to locate missing or incorrect html entities/tags in the TP templates and other files.

Help finding these and posting them here could save us all alot of time.
I will be posting things I find in this topic to hopefully use as a reference and for the TP community's use.

Notice even the main www.tinyportal.co.uk site fails to pass, so it may be the way one of the editor('s) parse some things, as well as some of the templates and other code.

*Edited:
Cleaned up and edited to reflect current findings.

TestMonkey

#1
If comments are enabled and the comment forms and messages are visible they break w3c compliance, not sure why yet still need to digg more into this..

The Shoutbox a bit of the html for the blocks is breaking w3c compliance, appears some of the input boxes need to be closed <input /> around line: 350 in TPortal.template.php ..
Unsure if those are the only problem's with the shoutbox when I get the shoutbox fixes done I will post back (later!).

TestMonkey

#2
Nother minor css/style problem, this one is in:

TPortal.template.php
find instances of:

_height: 1%;


replace with:

height: 1%;


Still in TPortal.template.php
line: 107 valign="top" is used twice

<td valign="top" valign="top" width="50%">';

Change to:

<td valign="top" width="50%">';

TestMonkey

Missing tag in TPortalBLocks.template.php

line: 810 you will find a div and paragraph tag that open

         echo '<div style="padding: 5px;" class="smalltext"><p style="margin: 0; padding: 0 0 .5ex 0;">';


line: 863 you will find only the div closes itself

         echo '</div>';


line: 863 change to

         echo '</p></div>';

TestMonkey

#4
-Bump-
Shoutbox - Block XHTML 1.0 fixes for TP 0.9.8

Filename: TPortalBLocks.template.php
Search text: <input
Check each add the closing/trailing slash on lines: 487, 488, 615, 618, 620, 623
They should end more like this:

<input /> // Each requires the closing slash.

bloc

Thanks, I will go over and correct these. TP 1.0 will see a lot of changes, so re-doing both the html and css is one of my top priorities.

This website is proudly hosted on Crocweb Cloud Website Hosting.