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.

Results 1 to 8 of 8
  1. #1
    Junior Member riker's Avatar
    Join Date
    Jan 2004
    Posts
    2
    Member #
    4764
    Hi all.
    I'm a web designer and I try to obtain validation for my web site.
    Regarding my css style, the W3C validation doesn't accept this css:
    <style>
    small {
    font-family: Tahoma; font-size: 7 pt
    }
    a:hover {
    text-decoration: underline; color: #2A4686
    }
    a {
    font-style: normal; text-decoration: none
    }
    button {
    font-family: Tahoma; font-size: 8 pt
    }
    big {
    font-family: Tahoma; font-size: 9 pt
    }
    h3 {
    font-family: Tahoma; font-size: 10 pt
    }
    font {
    font-family: Tahoma; font-size: 8 pt
    }
    BODY
    {
    SCROLLBAR-FACE-COLOR: #2A4686;
    SCROLLBAR-HIGHLIGHT-COLOR: white;
    SCROLLBAR-SHADOW-COLOR: white;
    SCROLLBAR-3DLIGHT-COLOR: white;
    SCROLLBAR-ARROW-COLOR: white;
    SCROLLBAR-TRACK-COLOR: #2A4686;
    SCROLLBAR-DARKSHADOW-COLOR: #2A4686
    }
    -->
    </style>

    Fir instance the scrollbar variables are not accepted.
    How can I make sustitute them in css?
    Thanks for helping.
    Who wants to visit my website this is the link.
    http://microportal.altervista.org

    Riker :classic:

  2.  

  3. #2
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    Scrollbar colors are not supported by all browsers. That might be where it's not validating. Could you post a link to your validation results so that we can see the feedback from w3c?

  4. #3
    Junior Member riker's Avatar
    Join Date
    Jan 2004
    Posts
    2
    Member #
    4764
    This is the link for css validation result

    http://jigsaw.w3.org/css-validator/v...usermedium=all

    Thanks.
    Riker :classic:

  5. #4
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Take out the spaces between your numbers and the 'pt' in your font sizes, and remove the scrollbar colouring, It should work now...

    Also your defined styles, that you will apply using the <style="button"> command etc. should be preceded by a '.'.

    Check that and see if it works.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  6. #5
    Junior Member Unorthodox's Avatar
    Join Date
    Jan 2004
    Posts
    28
    Member #
    4736
    just include the scroll bar colors in the document itself and it should be fine
    http://www.Unorthodox.cc

  7. #6
    Member
    Join Date
    Jan 2003
    Location
    Moscow City
    Posts
    32
    Member #
    468
    Use TopStyle 3.1
    Want a dynamic site with nice graphics? Solutions for the new age. Marco Tech
    vBulletin skins | Button sets | Free Photoshop addons | Web templates | PHP

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    The answer to solving a code problem is not using a tool that makes code for you.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    Member Apocalypse When's Avatar
    Join Date
    Apr 2003
    Location
    Norway
    Posts
    74
    Member #
    1224
    Originally posted by riker
    This is the link for css validation result

    http://jigsaw.w3.org/css-validator/v...usermedium=all

    Thanks.
    Riker :classic:
    Congratulations!


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 10:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com