WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Inserting Divs onto pages using the HTML editor (3 posts)

  1. Zapfino
    Member
    Posted 3 years ago #

    Hi, new to WordPress so apologies if I am doing something idiot wrong.

    I am trying to insert a Div on a page and then control it using a ID set in the style sheet. But it is not working, the Div style is not showing up:

    <div id="faqs">Something or other</div>

    Then setting this in the CSS as so:

    #fags {
    float: left;
    width: 200px;
    height: 200px;
    background-color: #ccc;
    }

    The text appears but the styling does not.

    Heeellllppp!

    Regards,

  2. Zapfino
    Member
    Posted 3 years ago #

    That should be:

    #faqs {
    float: left;
    width: 200px;
    height: 200px;
    background-color: #ccc;
    }

    The code is correct as I have checked it through Dreamweaver.

    Regards.

  3. Root
    Member
    Posted 3 years ago #

    Clear yr cache with a hard refresh...................

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.