U
Une Bévue
I'd like to import an html node into an xhtml one.
the node is the table found in :
http://thoraval.yvon.free.fr/Table_layout/color_picker.html
(a color picker)
this don't work, even if i write the html as xhtml.
the sole "working" is when i extract the above file into an xml one :
http://thoraval.yvon.free.fr/Table_layout/color_picker.xml
in this case, the file contains the table only.
then, i've imported this table into another file, using XHR :
http://thoraval.yvon.free.fr/Table_layout/import_node.xhtml
if i inspect the DOM, i see both under Safari and firefox 2 the table
and all the nodes it contains, however, nothing appears on screen ???
from Safari's "Web Inspector" all of the computed styles are with :
width: 0px;
height:0px;
then, i wanted to "brute force" height and width, here i got error
saying element.style is undefined ???
some light upon that ?
the node is the table found in :
http://thoraval.yvon.free.fr/Table_layout/color_picker.html
(a color picker)
this don't work, even if i write the html as xhtml.
the sole "working" is when i extract the above file into an xml one :
http://thoraval.yvon.free.fr/Table_layout/color_picker.xml
in this case, the file contains the table only.
then, i've imported this table into another file, using XHR :
http://thoraval.yvon.free.fr/Table_layout/import_node.xhtml
if i inspect the DOM, i see both under Safari and firefox 2 the table
and all the nodes it contains, however, nothing appears on screen ???
from Safari's "Web Inspector" all of the computed styles are with :
width: 0px;
height:0px;
then, i wanted to "brute force" height and width, here i got error
saying element.style is undefined ???
some light upon that ?