SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    background link image

    Hi,
    I am using a image for my active link background and the problem is i m using a class of active to link to the anchor of current page. but now my pages aren't static anymore coz i wanna use cms. is there a way i can just use that background image in css using pseduo class? coz my menu is generated dynamically now
    All those who wander aren't lost.

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,590
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Culd u spl wrds owt ? Sorry...but if you are wondering how you can get current "current page" for your website, you can do one of the options listed here
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,173
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Usually a CMS will make menu creation and current links much easier, so all you need to do is a simple CSS tweak. If you post a link to the page, we can suggest what code to use.

  4. #4
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ralph.m - Thanks i figured it out and its working.
    Ryan - I m weak on grammer :P
    All those who wander aren't lost.

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,590
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    It's ok , I was just teasing about the grammar/spelling . Good job figuring it out though nofel.
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  6. #6
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I know! if i can have grammer and spelling website to learn from. it would be great. and thank God u don't have go though again n again like u did last time with layout :P
    All those who wander aren't lost.


Bookmarks

Posting Permissions

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