Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2005
    Posts
    750
    Thanks
    138
    Thanked 1 Time in 1 Post

    Font colour query

    Hello

    I have a 'test' site here: http://www.bayingwolf.com. The heading is coded as follows:

    Code:
    <h1>bayingWolf <span>Productions</span></h1>
    and in my CSS I have
    Code:
    span
    { color: #676767;
      text-shadow: 1px 1px #FFF;}
    The #676767 is the grey colour in the word 'Productions' on the Web page. All of the pages are governed by a CSS sheet called style.css except for the 'Effects' page which takes style1.css. This also has the following identical code:
    Code:
    span
    { color: #676767;
      text-shadow: 1px 1px #FFF;}
    However, the word 'Productions' on the 'Effects' page is clearly a ligher (and better) grey than the word 'Productions' on the other pages despite having exactly the same code.

    Why would that be, please?

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,348
    Thanks
    11
    Thanked 289 Times in 288 Posts
    style1.css also has this, which is what's coloring that span:
    Code:
    header h1 span {
        color: #B7B7B7;
    }

  • Users who have thanked tracknut for this post:

    SteveH (05-06-2013)

  • #3
    Regular Coder
    Join Date
    Nov 2005
    Posts
    750
    Thanks
    138
    Thanked 1 Time in 1 Post
    I have just given you a 'thumbs up' - you are so right! THANK YOU!

    I've just corrected it.

    Cheers!

    Steve


  •  

    Posting Permissions

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