javascript - Weird margin when using .prependTo() -
 I have a problem understanding the following behavior: I have a container     Now I need to, the new  foobar inline-block      As you can see, this is the margin of only the very first element (again, I do not track the location using firebug / devoots. So, it does not think so). All further insertions are just fine, using the   What do I miss? Where does this strange margin / difference come from?        I only tested on Firefox 4/5/6 so far.      This is the white spot inside your parents   & lt; Div & gt;  Nodes are included Example:   < / P>
 < / P>  & lt; Div & gt;  No problem to fill the elements, use jQuery - & gt;  .prependTo ()  To protect (applied to the parent container) now comes the issue, for the first time  .prependTo ()  using a "something, somewhere" Example:   
   .insertBefore ()  code on the first code also works fine and looks great. Unfortunately, I use  .inertBefore () , this is the reason why I am asking for some heads here.   div  (i.e. line segment) It becomes clean for a simple space by HTML renderer. Remove it:   
 & lt; Div id = "region" & gt; & Lt; / Div & gt;    
 
  
Comments
Post a Comment