|
Hello,
I have been experimenting with John Resig's micro-template , which works great. However, the mark-up will not pass the XHTML 1.0 Transitional validation test. (Among other things, id attributes yield errors.)
Replacing tags identifiers <, >...
Started by mshelv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Why are you going through the trouble of changing all the methods that use the micro-template, rather than changing the micro-template itself? It seems like a waste of processing to load everything a certain way, and then change it all just so it's compatible... .
|
|
I'm trying to get some HTML pages to be more compliant and am starting off with simple stuff like removing align="center" in tables, etc.
However, I can't seem to get the effect I want using CSS. Stuff I've tried include
text-align:middle vertical-align...
Started by fung on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Horizontal auto margins on an block/table element would horizontally center it assuming it's positioned relatively/statically, has explicit or intrinsic width ( example being a table ) and not floated with the document in standards mode, though there ... .
|
|
Clarification : Thanks for the suggestions of tools for validating XHTML. I'm primarily looking for a solution that will run server side (or on the client with jQuery) so i can set it and forget it during development - and get told when I have issues ...
Started by Simon on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You could set it up with a list of URLs to constantly crawl your test server and log any errors... .
W3c html validator is avalable as source so you can download it and do prety much anything you want with it .
As a plugin there's HTML Validator for Firefox.
|
Ask your Facebook Friends
|
JQuery.get(window.location.href, function(data) { alert(data); alert($(data).html()); });
The first popup is all the HTML good and healthy.
The second popup is blank. Why? (the HTML is XHTML compliant)
Answer Snippets (Read the full thread at stackoverflow):
If you are fetching a complete....
From the documentation :
The HTML string cannot contain elements that are invalid within a div, such as html, head, body, or title elements .
Data isn't a jQuery object.
Because it will return a string with all the HTML .
|
|
I'm after (short) opinions on FCKeditor vs TinyMCE and whether either or both are XHTML compliant.
In the interest of keeping with the spirit of stackoverflow, if someone has already made your point, just upvote them.
Thanks in advance.
Started by Darren Oster on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
From my experience FCKEditor does indeed produce XHTML compliant code, but that code is slightly different.
XStandard is the only rich web editor I'm aware of that produces XHTML compliant code.
In XHTML compliance.
|
|
It seems that to be XHTML compliant an HTML textarea needs to have the cols property set. I want to use CSS instead so I can just expand the textarea to 100% style="width: 100%;"
How should I be doing this in a standards compliant way?
Started by Ryan Smith on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you specify the width using CSS the cols and rows attributes don't have any function .
I usually set a reasonable cols and rows amount, like 60 and 5 .
That way, if CSS is disabled or not implemented on the target browser, it still works .
Use both.
|
|
I'm wondering if the export html file in ViewletBuilder 5 will be xhtml compliant. My organization uses xhtml as a standard on our Web site, so I've tried to "fix" your files before uploading. Unfortunately, the embed tag in an object isn't xhtml compliant...
Started by katem on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at qarbon):
We have also updated to using java script in an external JS file to create the object and embed... .
So you can make them look however you like.
In VB5, you will have full control over the HTML and all other files that are generated when you compile a Viewlet .
|
|
I'm using ASP.NET with asp:Label to give my input controls labels.
When my page is in read only mode I disable all my input controls and associated labels.
When I set Enabled="false" on the label it renders as disabled='disabled' which is not valid XHTML...
Started by AJM on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Why do you need to disable the labels? Why not ... .
- Enable = false) and write your XHTML complient code to diasble it .
You can take a user option (e.g.
You can extend a label control to create a custom control .
I dont think this is possible by default.
|
|
To make my web site XHTML compliant, I have added a title attribute to all of my IMG tags.
However, when you mouseover an image, the text from my title attribute displays as a small popup. I don't want that text to be viewable.
Question : How do I prevent...
Started by TeddyG on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Though lately this has become more uniform across browsers, with most of them... .
Some browsers choose to display the title attribute, some choose not to display anything, and some even choose to display the alt attribute instead .
This is browser specific.
|
|
Hi guys,
For my mobile accommodations project I need some xhtml compliant calendar. I'm tried something and hope you people can give me some input on how it appears on a phone. Also..let the xhtml wizards give me some tips to do it better.
I came to this...
Started by GijsZePa on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at mobility):
Su Mo Tu We Th
Fr Sa
01....
Kinda like this..
Also, 01 02 03 04 05 are on one line and 06 07 on the next line .
I show Su Mo Tu We Th on one line and the Fri Sat on the next line .
It displays kinda funky on my blackberry.
Martin it looks great on my phone.
|