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 6 of 6

Thread: CSS Help

  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Help

    Hi,

    I am trying to change the scrollbar colors but I am having no luck.

    my style sheet is located at:http://hoohoo.us/rocknrollerz/style3.css
    the main page is:http://hoohoo.us/rocknrollerz/main.html

    Any help would be appreciated.

    Thank you

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    What browser? Scrollbar colors are only supported on IE AFAIK

    Edit:
    I think you need to apply the styles to html, not body.


    HTH
    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,666
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Quote Originally Posted by whizard View Post
    What browser? Scrollbar colors are only supported on IE AFAIK
    That’s right (Opera supports them as well but only in quirks mode).
    You shouldn’t mess with the user interface anyway. For one that’s not supported in any good browser. Secondly it bears accessibility issues (if scrollbars aren’t easily recognizable as such) and can drive users away from your site instead of keeping them.
    And thirdly that’s as amateurish and annoying as having music on a website that starts playing automatically with no option to stop it (which is even worse).

    Good web design is incorporating the default scrollbars, not trying to change them. And by the way: on a Mac or Unix PC the scollbars look completely differently and can’t be changed in any browser at all.
    Last edited by VIPStephan; 07-27-2007 at 08:58 PM.

  • #4
    Regular Coder medigerati's Avatar
    Join Date
    Jul 2005
    Location
    San Antonio, Tx
    Posts
    163
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by VIPStephan View Post
    That’s right (Opera supports them as well but only in quirks mode).
    You shouldn’t mess with the user interface anyway. For one that’s not supported in any good browser. Secondly it bears accessibility issues (if scrollbars aren’t easily recognizable as such) and can drive users away from your site instead of keeping them.
    And thirdly that’s as amateurish and annoying as having music on a website that starts playing automatically with no option to stop it (which is even worse).

    Good web design is incorporating the default scrollbars, not trying to change them. And by the way: on a Mac or Unix PC the scollbars look completely differently and can’t be changed in any browser at all.
    Actually, if you look at the site, music does start playing when the user loads the page, but there is a way to shut if off. I agree that both practices (automatic music and colored scrollbars) aren't good practices.
    If you need a little more help, I'm available as a Website designer in San Antonio
    ----------
    If I've helped, please check out my friend's nature photography and let me know if you like anything.

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,666
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Oh right! After searching a minute I found that tiny square on the keyboard…

    That’s the thing: user friendlyness is about helping the visitor and let him decide to do what and when s/he wants, not imposing something and making it hard to find things. That will just make the user click that button with the “x” inside – which is always in the same place and easy to find.

  • #6
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks anyway

    This is just a fun site for a few friends. Not trying to attract a lot of people! All I wanted to know what was wrong with code. Why I can change the scrollbar color on every page but the main.html.


  •  

    Posting Permissions

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