Support » Fixing WordPress » post.php can’t be located when using inline css

  • any one know what could be causing this?

    when i try to create a page using inline CSS (yes i checked my code, it’s fine) i get a bad request telling me post.php is missing….but it’s there. i can create a new page without problems when i’m not using any inline css though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • What do you mean by inline CSS. You can’t “create” a page using CSS. CSS doesn’t create, it styles. Inline CSS looks like this:

    <p style="color:green; font-size:110%">This is a paragraph that is green and larger than the rest.</p>

    Are you talking about adding such CSS to your post or Page and it isn’t found? Odd. HTML/XHTML tags and CSS works fine in WordPress posts. If you are including a lot of inline CSS and HTML in your posts, I recommend that you get TextControl Plugin to really control the way WordPress converts your post when generated on a post by post basis.

    Are you talking about using a template file called post.php that has a different header or a header with the head that brings in a different style sheet from the rest of your posts? That’s a style link.

    And are you talking about a Page or a static php file, or a single post template (what you see when you click on an individual post view)?

    We just need a little clarity on this.

    sorry if i wasn’t clear enough.

    what is happening is i am trying to write a page using wp-admin. in the code for the page i am attempting to use inline css to float an image to the left of the text. when i try to do this as soon as i click create new page i get an http 400 error page saying post.php can’t be found. (not a template file) however when i remove the inline css it creats the page without any problems.

    i’ve also just discover the same thing happens when i try to use inline css in a post.

    i hope that clarifies it a little more.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post.php can’t be located when using inline css’ is closed to new replies.