2009/10/22

XHTML 1.0 Strict - Form Input

I'm trying to make a form using XHTML 1.0 Strict but when I use the tag, while validating it says "element input not allowed here; possible cause is an inline element containing a block-level element".
It isn't allowed :) You need to put the input tag (which is an inline element)
inside a block-level element. The form element doesn't count. It was disallowed for semantic reasons.

Try a paragraph element

. Or perhaps a table (if you have a table of fields to fill in, and not just a table-based layout to beat CSS limitations...)

Validate forms XHTML 1.0 Strict

I ran into some trouble with the forms validation because I was using a javascript:document.formname.submit() which would require a name for the form. As it turns out, form name is deprecated in XHTML 1.0 Strict and XHTML 1.1.
In other words

is not valid in XHTML 1.0 Strict and XHTML 1.1.

To get around this issue, I used and in my link I used javascript:document.forms['blah'].submit(); which validates correctly.

Also, to get around the carriage return problem in input tags of forms (for input tags to validate correctly in XHTML 1.0 Strict and XHTML 1.1, they have to surrounded by

or h1 etc. ) I surrounded my inputs by (gasp) fieldsets and then hid it by styling the fieldset so I could get them all in one line. Im sure a lot of people know about these already, but this is for my future reference.



reference:http://weblogtoolscollection.com/archives/2004/08/16/validate-forms-xhtml-10-strict/

2009/10/20

Valid Flash description

When u embed a flash to ur website, the code may be not able to pass the W3C Validation.There is the solusion:
Valid Flash example for XHTML 1.0 Strict (XHTML 1.1)

http://www.ambience.sk/flash-valid.htm

This code for Flash (SWF) validates in compliance with web standards set by W3C. This code can be used in XHTML 1.0 Strict and is 100% valid. It degrades to GIF image if Flash plugin is not available and HTML + CSS stays valid.

When using Flash Satay method, you will have to use container movie to make your XHTML and CSS pages validate with webstandards. In this example no container Flash movie is needed and XHTML 1.0 Strict page stays valid and complies with web standards as set by W3C.

This code has been tested and works in Internet Explorer 5.01, 5.5, 6.0, Mozilla, Mozilla Firefox (former Mozilla Firebird), Opera and Konqueror and is fully XHTML Strict valid. No tags needed.


Reference:http://www.ambience.sk/flash-valid.htm

2009/10/12

Google Translate

Google Translate is a beta service provided by Google Inc. to translate a section of text, or a webpage, into another language. Just put a code to the webpage, it will be translated by Google as your wish, automatically.
http://translate.google.com/translate_tools

2009/09/20

Count website visitors

TraceMyIP.org is an advanced and truly private web based website visitor counting, geo tracking and traffic analytics / statistics service build on a proprietary technology developed by a private computer laboratory based in Massachusetts, USA. TraceMyIP.org is is a spam free service.
• Count website visitors and track the pages people have viewed with significantly greater detail than any other service
• Track and search returning visitors and privately monitor people's website browsing activity in in real time
• Trace the computer's physical location and system statistics of each individual website visitor based on the visitor's IP address

2009/08/26

CSS resoucres

There are so much CSS resources on the Internet. I'm lost....

2009/08/20

invalid link

Hi
There is an invalid link at UTS Online in week 3:IML News: Web Standards Group - Sydney.