HighDots Forums  

innerHTML causes page-shift ...

alt.html.dhtml alt.html.dhtml


Discuss innerHTML causes page-shift ... in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joris Lambrecht
 
Posts: n/a

Default innerHTML causes page-shift ... - 08-06-2006 , 08:18 PM






Hello there!

I hope this post will have a quick review as time is running short and i
do lack experience and understanding of javascript and DOM to think this
true thouroughly.

Here goes.

For some time now i've been looking into this document shift whenever i do
an

element.innerHTML = "a text with html tags innit like <br/>";

The page in question is using javascrip to rewrite a page with contact
information but the whole div with id=contact is moved to the right by
about 15px.

Any hints or suggestion would be most welcome.


Best Regards,

Joris

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.