WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to use css in a post ?

[Resolved] How to use css in a post ?

  • Hello, i want to use some css in my post like this

    my code:

    <style type=”text/css”>
    #navlist{position:relative;}
    #navlist li{margin:0;padding:0;list-style:none;position:absolute;top:50px; left:200px;}
    #navlist li, #navlist a{height:40px;display:block;}
    #home{left:0px;width:95px;}
    #home{background:url(‘http://i582.photobucket.com/albums/ss265/summerrain_9/web%20img/post001.png’) 0 0;}
    #home a:hover{background: url(‘http://i582.photobucket.com/albums/ss265/summerrain_9/web%20img/post001.png’) -95px 0px;}
    #home a:active{background: url(‘http://i582.photobucket.com/albums/ss265/summerrain_9/web%20img/post001.png’) 95px 0;}
    </style>
    <div align=”center” style=”background-image: url(http://i582.photobucket.com/albums/ss265/summerrain_9/web%20img/btn-bg-grain.jpg); height: 265px; width: 505px;”>

    <ul id=”navlist”>
    <li id=”home”>

    </div>

    but the code does not work.

    how can i reslove it?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to use css in a post ?’ is closed to new replies.
Skip to toolbar