Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position relative ignored in innerHTML
Message
From
26/02/2017 14:48:47
 
 
To
26/02/2017 14:08:35
General information
Forum:
CSS
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01648528
Message ID:
01648549
Views:
20
>
>1.from documentations:
>The <!DOCTYPE> declaration must be the very first thing in  HTML document, before the <html> tag.
>The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.
>In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.
>HTML5 is not based on SGML, and therefore does not require a reference to a DTD.
>
>Then  must Always add the <!DOCTYPE> declaration to  HTML documents, so that the browser knows what type of document to expect.
>
>2.the html file in the zip you sent me : i understand anything !
>visibly there is nothing when clicking (keypress event) on test link on my firefox.(you made a div Michel with display="none" (invisible)
>what can be the result ?where is innerhtml ?
>
>
The DocType was properly declared.

Not sure why the test page does not work on your end.

The issue was caused because of the absence of px syntax, which is highly important when using the innerHTML route. I usually always put it. However, in that particular area, I forgot.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform