Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Link css help  (Read 11783 times)

0 Members and 1 Guest are viewing this topic.

kpac

  • Web moderator
  • Moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Link css help
« Reply #15 on: April 20, 2010, 11:04:54 AM »
Yes, because the HTML page will be smaller without all the CSS in the <head>.

nymph4

    Topic Starter


    Specialist

    Re: Link css help
    « Reply #16 on: April 20, 2010, 03:03:19 PM »
    thanks

    nymph4

      Topic Starter


      Specialist

      Re: Link css help
      « Reply #17 on: April 21, 2010, 02:50:56 PM »
      one thing if I make a Link is the code the same for CSS  like it was for  HTML???

      kpac

      • Web moderator
      • Moderator


      • Hacker

      • kpac®
      • Thanked: 184
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: Link css help
      « Reply #18 on: April 21, 2010, 03:06:23 PM »
      Code: [Select]
      a:link {
      }
      Styles normal HTML links.

      Code: [Select]
      a:visited {
      }
      Styles HTML which the user has previously visited.

      Code: [Select]
      a:hover {
      }
      Styles HTML links when hovered over with the mouse.


      They have to be used in this order to work.


      nymph4

        Topic Starter


        Specialist

        Re: Link css help
        « Reply #19 on: April 21, 2010, 03:57:58 PM »
        well my exturnal CSS file has

        a:link {
        color:#FFFF00;
        }
        a:visited {
        color:#FFFF00;
        }

        and it controls my links just great and it works.

        What I ment was can I make the  Link like this

        <A HREF="resume.html">  my text go here [/url]

        or is this not how you make a CSS  link???

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: Link css help
        « Reply #20 on: April 22, 2010, 07:54:53 AM »
        I believe you need to put any hyperlinks in the HTML file, not the CSS file.  You can control the colors of active links, visited links, etc., in your CSS file, as kpac explained, but the actual hyperlinks belong in your HTML file.

        nymph4

          Topic Starter


          Specialist

          Re: Link css help
          « Reply #21 on: April 22, 2010, 08:55:14 AM »
          sorry I know the link goes in the body Tag  but is it like the link I have above or is it a  diferant  type of  link?

          soybean



            Genius
          • The first soybean ever to learn the computer.
          • Thanked: 469
          • Computer: Specs
          • Experience: Experienced
          • OS: Windows 10
          Re: Link css help
          « Reply #22 on: April 22, 2010, 09:34:39 AM »
          It's as you posted:

          Code: [Select]
          <a href="resume.html">  my text go here </a>
          If resume.html is in a different folder than the page from which you're linking, then you would need to include the path to it.