WordPress.org

Ready to get started?Download WordPress

Forums

css code is not working on my page (3 posts)

  1. mohit27
    Member
    Posted 6 months ago #

    hi i got some css codes i can run it from my laptop using bluefish editor but when i copy it to my wp page it dosent work plz can any one help me

  2. Andrew
    Forum Moderator
    Posted 6 months ago #

  3. mohit27
    Member
    Posted 6 months ago #

    this is my code that i m trying to run (

    <body>
    <div id="box">

    iphone 4s screen repair

    <div class="text"> this is text</div>

    </div>

    <style>

    #box{ /*border settings*/
    background-color: skyblue;
    width: 300px;
    height: 50px;
    border: 2px solid black;
    border-radius: 10px;

    }

    #box{ /*box font settings*/

    font-size: 20px;

    font-weight: bold;

    }

    .text {
    display: none;

    }

    #box:hover .text{
    display: block;
    }

    </style>

    </body>

    )

    on fixitc.co.nz

    thanks for replay

Reply

You must log in to post.

About this Topic

Tags

No tags yet.