WordPress.org

Ready to get started?Download WordPress

Forums

Prettify For WordPress
HTML Syntax Not Showing. CSS Syntax Unstyled. (1 post)

  1. glepage
    Member
    Posted 1 year ago #

    I cannot get Prettify to work with HTML syntax at all and CSS syntax appears but is unstyled. Can someone please help me?

    HTML:
    1. I've installed "ThemeKit"
    2. Then I installed "Prettify For WordPress"
    3. I placed the following syntax into my php file:

    <pre class="prettyprint">
    <input type="text" id="input-field" size="20" spellcheck="false">
    </pre>

    HTML result: An actual input field instead of the browser showing the code/syntax.

    --

    CSS:
    1. I've installed "ThemeKit"
    2. Then I installed "Prettify For WordPress"
    3. I placed the following syntax into my php file:

    <pre class="prettyprint">
    #input {
    padding: 0 0 30px 0;
    border-bottom: 1px solid #e1e1e1;
    }
    </pre>

    CSS result: The CSS syntax shows but it is unstyled.

    I cannot get Prettify to work with HTML syntax. Can someone please help me?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.