Web Analytics Made Easy -
StatCounter RESOLVED: Css File Help! - CodingForum

Announcement

Collapse
No announcement yet.

RESOLVED: Css File Help!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RESOLVED: Css File Help!

    I have my webpage and my single css file and i have created an active style for the link page in use, how do i go about applying that effect to the page as it loads the new page if i only have one css file?

    Thanks
    Last edited by syco__; Aug 26, 2011, 06:42 AM. Reason: RESOLVED: rename Title
    .pLeAd InSaNiTy.

  • #2
    Do you want to highlight the current page's menu tab/link when the page loads?

    If yes, this might help.
    Last edited by webdev1958; Aug 26, 2011, 06:25 AM.

    Comment


    • #3
      If your site is static and load all contents on new page each time when it loads, then you can create a separate class and assign to the link on that page which you want to keep active....

      Comment


      • #4
        <li><a href="#" class="active">About Us</a></li>

        I have that code and it just displays them all with this effect how do i make it so its just the link i click actives it, is this what you meant by assigning it to the link?

        Thanks
        .pLeAd InSaNiTy.

        Comment


        • #5
          Never mind i worked it out i dont know what i was thinking. It works find i just forgot to take the active effect off on each page.

          Thanks
          .pLeAd InSaNiTy.

          Comment

          Working...
          X