Jump to content

ir.net

Members
  • Posts

    2
  • Joined

  • Last visited

ir.net's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. It seams that "Code in ASP (VB) (demo_sse.asp)" block needs correction in the article HTML5 Server-Sent Events. Original string does not return data to client browser: Response.Write("data: The server time is: " & now()) Line feeds ("\n\n")are missing. This works: Response.Write("data: The server time is: " & now() & vbLF & vbLF)
  2. It's supposed that this page should show position of a child element relatively to its parent. http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_css_position2 The challenge is it shows position relatively to positioned parent or body as I suppose. I mean that currently "Position of this paragraph (relative to its parent element) is 151 top and 159 left." instead of "... 100 top and 100 left." May be paragraph's text "(relative to its parent element)" should be changed or 'position:absolute' should be added to parent's style to avoid confusion. <div style="border:1px solid black;padding:100px;margin:50px;position:absolute;">
×
×
  • Create New...