SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Addict miggl's Avatar
    Join Date
    Feb 2007
    Los Angeles, CA
    0 Post(s)
    0 Thread(s)

    Solved: Replacing innerHTML causes linebreak in IE, not in FF

    Hi All!

    I am replacing the innerHTML of a table cell (td) with an image and text. In Firefox they display next to each other (as intended), however, in IE the text appears under the image, as if there were a line break. I added nowrap="nowrap" and style="white-space: no-wrap;" to the table cell, but all to no avail. IE continues to display with a line break.

    Any ideas how this can be avoided? Thanks
    Last edited by miggl; Oct 2, 2007 at 08:55.
    Celebrate Liberty, Freedom, and Rights at The Constitutionalist.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts