Colorbox inline style="display:none" doesn't disappear I am using colorbox module. 
I have an inline modal that works o.k, this is the code:

&lt;a class="colorbox-inline" href="?width=310&amp;amp;height=460&amp;amp;inline=true#paste-data-to-lp"&gt;view content&lt;/a&gt;

&lt;div class="colorbox-inline" id="paste-data-to-lp" style="display: none;"&gt;
  &lt;pre&gt;
    &lt;input name="name" type="name" /&gt;
    &lt;input name="phone" type="phone" /&gt;
    &lt;input name="email" type="email" /&gt;
  &lt;/pre&gt;
&lt;/div&gt;


This code is an a view header.

When I click the link the modal pops but it is empty. 
I've noticed that the style="display: none;" in the div does not disappear. 

What can cause this?

Any help will be great.
O.k... I changed the code to this and it works...  

&lt;a class="colorbox-inline" href="?width=500&amp;height=500&amp;inline=true#id-of-content"&gt;Link to click&lt;/a&gt;

    &lt;div style="display: none;"&gt;
    &lt;div id="id-of-content"&gt;
     &lt;pre&gt;
        &lt;input name="name" type="name" /&gt;
        &lt;input name="phone" type="phone" /&gt;
        &lt;input name="email" type="email" /&gt;
      &lt;/pre&gt;
    &lt;/div&gt;
    &lt;/div&gt;