What differences are expected of XHTML5 versus HTML5? I understand that XHTML5 is the XML form of the language and HTML5 is the SGML form of the language, which means obvious minor syntax differences. Will there be any further differences? Will XHTML5 deprecate completely worthless elements that were not deprecated by HTML5? Will XHT...
Is there a W3C or any other noteworthy standard on how to represent a color (including alpha channel) in hex format?
Is it #RGBA or #ARGB ?
...
I'm looking for a good framework for PHP and see most offer the MVC approach, are there any other (or better) design methods/approaches that would be considered more efficient or best practice? MVC is starting to look dated but I wanted to know if it's still considered the industry standard.
...
Hello. I've some javascript that tests DOM node types against like this:
if(node.nodeType == Node.TEXT_NODE) {
Of course, it all works fine in Firefox, Safari, and Opera. But Internet Explorer 7 is complaining that Node (with the capital N) is undefined. But that's part of DOM Level 2!
Do I really need to change my code to us...
Firstly, I know this is both subjective and potentially argumentative but it does relate to a real software development problem I’m dealing with firsthand and I’d really appreciate some insights. Should software developers be encouraged to write code in English rather than in their native tongue and how great an obstacle does this create...
Note: I completely reworked the question to more properly reflect what I am setting the bounty for. Please excuse any inconsistencies with already-given answers this might have created. I did not want to create a new question, as previous answers to this one might be helpful.
I am working on implementing a C standard library, and am c...
I need to check the platform I'm on, meaning: processor, operating system, and operating system version. An example I currently have is i686-apple-darwin10. How can I obtain the similar string on Linux and Windows? I know that the autotools provide a detection script that produces that string, but I don't recall its name now, and since i...
I have a block of HTML that looks like this:
<div id="header">
<h1>title</h1>
<h2>subtitle</h2>
</div>
I'm using a CSS technique to hide all that text and replace it with an image. But I want to link the whole block to the homepage. I can't wrap it in <a> because that wouldn't be standards-compliant. So how do I do it?
My solutio...
Suppose you want to write into a database that something is 30 meters long, or 50 feet, or the temperature was 50 kelvin, the speed was 50 kilometers per hour.
How would you represent the units ?
To clarify, two points:
any kind of units, not a predefined, well defined subset of them.
my question is more relative to the existence o...
Hi All,
I was just wondering if anyone knew of a source of standard ISO data in xml format, such as ISO 3166 (Country codes/names), ISO 4217 (Currency Codes) or ISO 639 (Languages)?
If it was in any way 'official' and maintained with any changes to the standards that would be great!
Thanks,
S
UPDATE: I can't use files with non-comm...
Hello.
I need to redone existing project CSSs' - more than 5 files, which describes all our porlets UI to standard CSS file,called portlet-spec-1.0.css
So, I've found one specification for this:
http://www.ja-sig.org/wiki/display/UPC/JSR-168+PLT.C+CSS+Style+Definitions
This spec. is obsolete,dated by 2003.
Is there contemporary versi...
I'm working on a some build scripts that I'd like to depend on only standardized features.
I need to sort some files by version. Say the files are bar-1.{0,2,3} bar-11.{0,2,3}.
By default, ls gives me:
bar-1_0
bar-11_0
bar-11_2
bar-11_3
bar-1_2
bar-1_3
Getting what I want is easy using 'ls -v':
bar-1_0
bar-1_2
bar-1_3
bar-11_0
bar-...
Hallo,
I work in a small and young team of developers and we have problems that we are not sure how to solve.
On previous projects every developer have been working on tasks that were based on use cases. So, upon setting the system architecture, each team member worked on user interface and business logic of tasks assigned to him.
Thi...
I'm not a JavaScript wiz, but is it possible to create a single embeddable JavaScript file that makes all browsers standards compliant? Like a collection of all known JavaScript hacks that force each browser to interpret the code properly?
For example, IE6 does not recognize the :hover pseudo-class in CSS for anything except links, but ...
Hi,
I've want to know what is the best practice or approach in dealing with multiple and complex columns with a form inside.
here's an example of the form I'm dealing with
http://img96.imageshack.us/img96/5658/complexform.jpg
How to properly write a HTML markup for this? If I wrap every form element with a 'DIV' for every column it...
Consider the following small program:
#include <cstdio>
int main() {
printf("%d\n", 1);
std::printf("%d\n", 2);
return 0;
}
What does C++ standard say about importing C library functions into global namespace by default? Can you point me to the relevant C++ standard section?
What is the reason ANSI C functions are in std...
When answering a comment to another answer of mine here, I found what I think may be a hole in the C standard (c1x, I haven't checked the earlier ones and yes, I know it's incredibly unlikely that I alone among all the planet's inhabitants have found a bug in the standard). Information follows:
Section 6.5.3.4 ("The sizeof operator") p...
Is there such thing as a standard set of application return codes? Things like returning 0 for success 1 for failure, and then so on? I have a windows server application that I am adding some return error codes and wanted to stick to standard codes in addition to the app specific ones that I will need.
...
I'm working on making an ASCII based game, and everywhere I look people are saying to use Console.Write() from MSDN, which is dandy and all if you're using Windows, but I'm not.
And thus, I'm trying to write a function, or group of functions in C that can alternate between two screen buffers, and write them to the screen, similar to wha...
Hi all,
I'm working on a large site and starting on browser compatibility next week. Just had a glance in some different browsers to have so idea of whats ahead of me and i noticed differences in FF3.5 vs FF3.
The site has been built in FF3.5/IE8. So I'm wondering if there are know issues between the two FF versions? A quick google sea...