The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

WordPress ignores CSS, inserts extra line breaks

  • # November 22, 2008 at 3:33 am

    After importing my blog to WordPress 2.6.3, I’m finding that WP ignores the rules of CSS and inserts a line break everywhere it sees a blank line in my content.

    I’m mystified as to why this occurs. I’ve examined my database content in phpmyadmin and can see that there’s no extra formatting in the content field.

    At any rate, I don’t want to have to edit my copy without line breaks, as then all the content will run together. And I certainly don’t want to have to go back through hundreds of entries and delete the line breaks that are there. Further, I shouldn’t have to. That’s what CSS is for!

    Otherwise, WP appears to be properly reading my stylesheet.

    Has anyone else had this problem with WP?


    # November 22, 2008 at 4:16 am

    This reply has been reported for inappropriate content.

    Can you provide a link to your site?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed