Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default CSS link color

    I apparently don't know CSS all that well.

    I am simply trying to have the text links in the nav column be white. And my
    other text links in the main part of my site be purple. But that seems easier
    said than done for some reason.

    I defined a css style called button that was white, with the link properties I
    wanted. Highlighted the text links in the navbar and applied the style to
    them. But they are still the default style.

    Anyone know why? It's probably simple, something I overlooked, but I use some
    help...

    Thanks,
    Robert


    robsig Guest

  2. Similar Questions and Discussions

    1. Changing Color of Text Link
      I have a page that has a submenu that loads pages into an iframe. I have a color set for hover and visited in my style sheet. However, I was...
    2. unable to edit link color
      hello everyone ... i am using Contribute 2(a program i love) on my mac, but i am running into an odd issue. whenever i create a link it defaults to...
    3. Link color doesn't change on hover
      hi;) , I am having problems with color change of links on rollover, so I'm here for some help. Ok, I have some links which are in a frame. First...
    4. link color problem in PDF generated from Framemaker
      I am using Acrobat 5.0, and the document (with hyperlinks) was generated in Framemaker 6.0. It is a 900-page document, with nearly as many bookmarks...
    5. Changing the font color of a link
      I've included the following code as an HTML fragment in Pub 2003. In my browser the resulting Hyperlink text appears in Times New Roman and colored...
  3. #2

    Default Re: CSS link color

    <div id="style1"><a href="page1.html">Page 1</a></div>
    <div id="style2"><a href="page2.html">Page 2</a></div>

    #style1 a { color:white; }
    #style1 a:hover { color:purple; }
    #style2 a { color:purple; }
    #style2 a:hover { color:white; }

    This CSS and markup will give you two links - one is white with a purple
    rollover, and the other is purple with a white rollover.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "robsig" <webforumsuser@macromedia.com> wrote in message
    news:dhubqp$6gg$1@forums.macromedia.com...
    >I apparently don't know CSS all that well.
    >
    > I am simply trying to have the text links in the nav column be white. And
    > my
    > other text links in the main part of my site be purple. But that seems
    > easier
    > said than done for some reason.
    >
    > I defined a css style called button that was white, with the link
    > properties I
    > wanted. Highlighted the text links in the navbar and applied the style to
    > them. But they are still the default style.
    >
    > Anyone know why? It's probably simple, something I overlooked, but I use
    > some
    > help...
    >
    > Thanks,
    > Robert
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: CSS link color

    Thanks, that was easy. And it works great!! I have a lot to learn :)
    robsig Guest

  5. #4

    Default Re: CSS link color

    You're welcome. So do we all! 8)

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "robsig" <webforumsuser@macromedia.com> wrote in message
    news:di3ahl$lu9$1@forums.macromedia.com...
    > Thanks, that was easy. And it works great!! I have a lot to learn :)

    Murray *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139