Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem with pagenavi.

    imagine 1 2 3 4 5 6 .....are the pagenavi. now i want give different color in different number. how can i give it by html and css.

  • #2
    New Coder
    Join Date
    Dec 2012
    Location
    Ingerlund
    Posts
    66
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I'm not exactly sure what it is you're asking so I'll go out on a limb. You apply different colors to elements in HTML and CSS by applying an ID to the element in HTML and then coloring it in the CSS, for example:

    Code:
    <div id="redcolor"><h1>EXAMPLE TEXT</h1></div>
    <div id="bluecolor"><h1>EXAMPLE TEXT</h1>/div>
    <div id="yellowcolor"><h1>EXAMPLE TEXT</h1></div>
    Code:
    #redcolor{
    color:red;
    }
    #bluecolor{
    color:blue;
    }
    #yellowcolor{
    color:yellow;
    }
    In short, apply an id to your element in the HTML, then apply whatever style you want to that id in the stylesheet.

  • #3
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i will try in your way. anyway thank you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •