I'm afraid browser don't agree with this, though. I'm not sure about
input but I'm
positive that div/div is not the same as div / as far as browser
rendering
goes.
On Nov21, 2007, at 7:28 AM, Kepler Gelotte wrote:
Actually as far as XML (and consequently XHTML) is concerned:
input
Hi Dusan,
Here are some of the unofficial guidelines I work with:
div / will not work with IE in certain circumstances. It might give you
some errors which you might find mind-bogglingly difficult to debug (i.e.
very weird behaviour).
div/div will behave much better, but (unless you have an ID
I have the following code
var categorySelect = document.getElementById('category')
var subcategorySelect = document.getElementById('subcategory')
var stateSelect = document.getElementById('state')
var state = stateSelect.options[stateSelect.selectedIndex].value
var category =
On Nov 26, 2007, at 8:00 AM, Dusan Smolnikar wrote:
I'm afraid browser don't agree with this, though. I'm not sure
about input but I'm
positive that div/div is not the same as div / as far as
browser rendering
goes.
Actually as far as XML (and consequently XHTML) is concerned:
input
Philippe Wittenbergh wrote:
Depending on the mime type there is a huge difference.
text/html -- sgml parser in use
application/xhtml+xml -- xml parser is in use.
Just to clear up this misconception text/html doesn't use an SGML parser
(few, or possibly zero browsers have implemented SGML
I'm afraid browser don't agree with this, though. I'm not sure about
input but I'm
positive that div/div is not the same as div / as far as browser
rendering goes.
Hi Dusan,
I was going by my knowledge of XML. According to the XHTML spec. both forms
are equivalent:
It won't work in any other browser I know of as well. See this demo
case:
http://dusan.fora.si/blog/wp-content/uploads/2007/07/tags.html
(explained at http://dusan.fora.si/blog/self-closing-tags )
Of course I don't suggest using an empty div tag with no id. It was
just an example.
But,
Hi Dusan,
It won't work in any other browser I know of as well. See this demo
case:
http://dusan.fora.si/blog/wp-content/uploads/2007/07/tags.html
Your demo shows very well why serving XHTML as text/html is harmful.
When the document's media type is changed, you will see the expected