Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: previews wrong color?

  1. #1
    Barrista
    Join Date
    Nov 2003
    Location
    Norway - land of giants
    Posts
    2,787

    previews wrong color?

    I'm puttng together a website for a client, and have run across a little problem. Previous experience tells me I can bang my head for a looong time with little things like this. I've added active e-mail links and given them a lime color. When previewed, the underlining is a bright blue! blah! any suggestions on how to avoid this? Don't mind the layout, headings, backgrounds and images are not in place yet.

    http://img.photobucket.com/albums/v2...ions/vindu.jpg

  2. #2
    Programming Ninja mkeefe's Avatar
    Join Date
    Feb 2003
    Location
    Boston
    Posts
    7,794
    I am imagining it is a browser bug, but to get rid of the underline place this line in your css

    Code:
    a:link, a:hover, a:active, a:visited {
    text-decoration: none;
    }

  3. #3
    Regular
    Join Date
    Jan 2005
    Location
    TX
    Posts
    338
    Supporting mkeefe's suggestion!

  4. #4
    Barrista
    Join Date
    Nov 2003
    Location
    Norway - land of giants
    Posts
    2,787
    Thank you!
    that makes me really want to learn why that makes sense, because to me it's "greek".
    I get the fact that it says whether you hover over the link, whether it's visited or not, don't decorate! . - but why a? and why are the "clammers" where they are? what does it all mean??? ok, now my little head hurts. A link to better understanding of what I'm doing would be greatly appreciated.



    edit: typo

    [Edited on 25-1-05 by emm]

  5. #5
    Barrista dcloud's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    1,792
    emm,

    You can also use CSS:

    <style type="text/css">
    <!--

    a {text-decoration: none; }

    -->
    </style>

    Place this in between the <head> </head> section of your html.

    - dc

    [Edited on 1/25/2005 by dcloud]

  6. #6
    Barrista dcloud's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    1,792
    Oh, and here's a link to a tutorial on the subject that may help your head:

    http://www.yourhtmlsource.com/styles...inedlinks.html

    - dc

  7. #7
    Barrista
    Join Date
    Nov 2003
    Location
    Norway - land of giants
    Posts
    2,787
    thank you so much, Doug. Being a total html ignorant, this page should be good help overall. Today I'm struggling with a drop-down menu.


    [Edited on 25-1-05 by emm]

  8. #8
    Regular
    Join Date
    Nov 2004
    Location
    (Coimbra) Portugal
    Posts
    285
    chek if tou are using a web color palet emm.

  9. #9
    Barrista dcloud's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    1,792
    emm,

    Here's a great step-by-step on Building a DHTML Drop Down Menu with Dreamweaver:

    http://www.phptr.com/articles/article.asp?p=29835

    - dc

  10. #10
    Barrista
    Join Date
    Nov 2003
    Location
    Norway - land of giants
    Posts
    2,787
    yes, ricardo, I was just wondering about that; why is it that traditionally we're tought that screen can show more colors than print, while when making websites you get this very limited "yucky" color range to work by? No fun.

    Thanks Doug, I'll certainly dig into it. I've been trying to include this menu into my site: link but I just ended up making a mess of everything. I want that function with my design, but I think I started in the wrong end. Maybe I should just edit the images on their examplepage to fit my layout so that all the coding is intact from the beginning. *sigh* ok. it's lunch. Thanks again doug, now I have something to read with my lunch.

Page 1 of 3 123 LastLast

Posting Permissions

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