HTML dynamic tags insert looks different compared to static layout

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-05-05T12:57:07Z Indexed on 2010/05/05 13:08 UTC
Read the original article Hit count: 276

Filed under:
|

I program HTML interface with jquery. There is editable list of publications on the page and user can click any publication to edit details. Popup window appears with data and there is list of authors embedded into details form. There are edit/delete buttons against every of them + "add new author" button. User manipulates authors without page reload. When I insert a new author there are new edit/delete buttons created dynamically & embedded into page.

I insert tags like this:

<td class="author-actions">
    <img onclick='edit(id)' .../>
    <img onclick='delete(id)' .../>
</td>

Just the same html-layout that is sent from web-server when popup window appears. But somehow it looks different. There is extraspace between images though firebug demonstrates the same css attributes applied.

If I select with mouse inserted layout with IE, somehow it can reorder and become the same-looklike as the those, send by web-server.

What can it be?

© Stack Overflow or respective owner

Related posts about html

Related posts about jQuery