Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Like Tree1Likes

Thread: The color does not exist in my CSS or HTML... so where is it coming from?

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Member #
    38332

    The color does not exist in my CSS or HTML... so where is it coming from?

    Hello! I'm a a n00b webdesigner, so I'm understandably having some troubles.
    I am creating my nav, with :hover and :visited elements, and for some reason the link text is Purple, in the regular state (no hover, unvisited) even when I change the color to #fff or #000. where is the purple coming from and how can I change it?!?!

    <!doctype html>

    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Danni Beaudry - Portfolio Website</title>
    <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen">
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
    </head>
    <body>
    <div class="container .clear images">

    <div class="nav">
    <ul>
    <a href="index.html">Home</a>
    <a href="index.html">About</a>
    <a href="index.html">Portfolio</a>
    <a href="index.html">Contact</a>
    </ul>
    </div>

    <div>
    <div class="selfie">
    <img src="images/selfie.jpg">
    </div>
    <h1>Danni Beaudry</h1><br>
    <h2>Graphic Designer</h2>
    </div>

    <div class="intro">
    <p>Hello,<br>
    welcome to my online portfolio. My name is Danni Beaudry, and I am a Graphic Designer based in Winnipeg, Canada.
    My roots are in print design, but (as you can see) I am developing my web design skills too. Please feel free to browse, and let me know what you think
    </p>

    </div>

    <div>
    <div class="img"><h3>Recent Work</h3></div>
    <div><img src="images/Judy.jpg" href="portfolio.html"></div>
    <div><img src="images/BaseBC.jpg" href="portfolio.html"></div>
    <div><img src="images/stjamestree.jpg" href="portfolio.html"></div>
    <div><img src="images/Stickers.jpg" href="portfolio.html"></div>
    <div><img src="images/stjamestree2.jpg" href="portfolio.html"></div>
    </div>

    </div>
    </body>
    </html>

    a:link {
    font-color: #123456;
    color: #123456;
    text-decoration: none;
    font-size: 30px;
    background-color: #fff;
    padding: 8px .5em;
    margin: 1.5em;
    border-radius: 2px 10px;
    box-shadow: 3px 3px 6px 2px #000;
    }

    a:hover {
    color: #a3d0d1;
    background-color: #408582;
    padding: 10px 1em;
    margin: 1em;
    box-shadow: 4px 4px 4px 4px #000;
    }



    /*
    .nav {
    background-color: #5c473a;
    }


    .selfie {
    margin: 50px;
    }

    p {
    float: right;
    max-width: 200px;
    }

    .container{
    min-width: 950px;
    background-color: #ccb881;
    margin: 2em;
    padding: 1em;
    }

    h1{
    text-align: center;

    }

    */

    .clear{clear:both;display:block;overflow:hidden;vi sibility:hidden;width:0;height:0}.clearfix:after{c lear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}* html .clearfix,*:first-child+html .clearfix{zoom:1}

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    Give us a link to the actual web page ... some of us don't have time to duplicate all of your code to see what it does.


  4. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Member #
    38332
    It actually appears that even if I make a completely new index.html in a separate folder with no CSS sheet attached yet, the links appear as purple, even if I haven't clicked them yet! Why???

  5. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Member #
    38332
    I dont have it on a server yet.

  6. #5
    Senior Member RDesignista's Avatar
    Join Date
    Feb 2012
    Location
    Coconut Tree City
    Posts
    822
    Member #
    30921
    Liked
    123 times
    Blue is the default link color. Purple is the default visited link color. These are pretty much universal colors for browsers. You can change these settings in your browser.

    Most people avoid the visited link color by just combining the two states:

    a:link, a:visited {
    color: tomato;
    }

    Also, I don't think there is such thing as a css "font-color". It's just "color".

  7. #6
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    You're a Graphics Designer and you don't have a website online?

    Anyhow, I have a hard time troubleshooting things like this unless I can actually view them online with different browsers. Sometimes it's just the browser you're using that does funky things. Also, you have images which I cannot render on a test page (if I went through the work of duplicating it), because they reside only on your computer.

    Seriously, it only costs $40 for a website with your own domain name. That's what? 12 gallons of gas?

    That would make it 100 times easier for us to immediately see the problem.


  8. #7
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Cripes - We're paying $133.9 a litre here in Quebec - $40 would get me 7 gallons - sounds like a bargain to me to get 12 for that!

    Seriously - a domain and some hosting are investments that will pay for themselves very quickly in saved frustration alone. Being able to see how things will actually look and function online can teach you so much. And you can probably write it as a business expense for your taxes.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  9. #8
    Senior Member RDesignista's Avatar
    Join Date
    Feb 2012
    Location
    Coconut Tree City
    Posts
    822
    Member #
    30921
    Liked
    123 times
    RE: Hosting
    I actually think that if the OP only needs his code online to get help from others, he's best off using something like Create a new fiddle - JSFiddle. For website production, I think working locally is much better and you get 0 download time (unless referencing online scripts). The OP seems like a newbie, so I don't think he needs webhosting until he starts hosting his own site.

    RE: Gas
    About $4 USD / gallon here in Hawaii. Me, personally, I barely drive and I have a motorcycle that gets 40-60mpg, so I've never cared about gas prices. Meanwhile, people here in Hawaii complain when gas goes up $.15 a gallon. And they go out of their way to buy cheaper gas at Costco, but end up waiting in line for 10 minutes with their car on. I might be biased, but I think people here are overly sensitive to gas prices.

  10. #9
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,139
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by RDesignista View Post
    ...here in Hawaii...
    Was just there (Honolulu) this summer...
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  11. #10
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    I can never understand the logic of spending a couple, a few, or many hours a day on the computer creating web design and development projects and not be willing to invest $40 to put all of your hard work online. Even if for the thought of letting others see your site to assist with troubleshooting ... that's a good reason, but to have a place to actually develop your scripting in the real world. A place to have other people in the world help you test out your projects.

    It boggles my mind. Apparently is shows how much passion a person actually has for doing this kind of work?



Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com