WordPress.org

Ready to get started?Download WordPress

Forums

<Pre> Tags in IE7 are not preserviing linebreaks (2 posts)

  1. jkilmister
    Member
    Posted 5 years ago #

    For some reason the

     tags I am using to show code syntax in IE7 are not preserving line breaks (they work fine in firefox 3). 
    
    You can see this on blog.blueboxes.co.uk
    
    I think they have something to do with the CSS styles? Any ideas?
    
    Thanks
  2. digitalnature
    Member
    Posted 5 years ago #

    remove from style.css:

    pre{
      white-space: normal; /* why pre? */
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags