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 3 1 2 3 LastLast
Results 1 to 10 of 24
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    52
    Member #
    2478
    heres the standard html for my news page, havent even filled it in yet with text and other style info. everything i put into the style brackets about fixed backgrounds and stuff like that works fine, everything except colored scroll bars. Anyone who knows why it isnt working, let me know. I use dreamweaver MX for everything i do, let me know if that has something to do with it. Thanks for your time. Oh yeah! I'd also like to know if someone can hook me up with the tag for removing the scroll bar completely (i want to do this for the standard page and only have a scroll bar for the news iframe).

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>News & Updates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--BODY {
    SCROLLBAR-FACE-COLOR: #ffffff;
    SCROLLBAR-HIGHLIGHT-COLOR: #0033CC;
    SCROLLBAR-SHADOW-COLOR: #666666;
    SCROLLBAR-3DLIGHT-COLOR: #CCCCFF;
    SCROLLBAR-ARROW-COLOR: #6699FF;
    SCROLLBAR-TRACK-COLOR: #000000;
    SCROLLBAR-DARKSHADOW-COLOR: #990000;
    }-->
    </style>
    </head>

    <body>

    </body>
    </html>

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Code:
    <style type="text/css">
    <!--BODY {
    SCROLLBAR-FACE-COLOR: #ffffff;
    SCROLLBAR-HIGHLIGHT-COLOR: #0033CC;
    SCROLLBAR-SHADOW-COLOR: #666666;
    SCROLLBAR-3DLIGHT-COLOR: #CCCCFF;
    SCROLLBAR-ARROW-COLOR: #6699FF;
    SCROLLBAR-TRACK-COLOR: #000000;
    SCROLLBAR-DARKSHADOW-COLOR: #990000;
    }-->
    </style>
    Remove the line[minicode]<!--BODY {[/minicode] and replace it with [minicode]body {[/minicode]

    Remove the line [minicode]}-->[/minicode] and replace it with [minicode]}[/minicode]

    That should now work. Also change the code to lowercase as well.
    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

  4. #3
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    The <!-- and --> shouldn't stop it working - it's just a way to stop older browsers that don't support CSS reading the <style> content as HTML and displaying it.

    Coloured scroll bars don't work in Mozilla or Netscape. If that's the browser you're using then that's your problem. If it's not the browser you're using then there is another problem somewhere but why use something that only works for a percentage of your audience? I wouldn't bother with coloured scroll bars at all.

    If you want to get rid of the scrollbars altogether this can be done by using JavaScript to pop-up another window with scrolling disabled. You can't do it for the first page somebody visits, only for pop-ups from the site. Personally I don't like my browsers functionality being reduced when I visit a site so again, I wouldn't bother.

  5. #4
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Try changing it to this
    Code:
    <style type="text/css">
    <!--
    BODY {
    SCROLLBAR-FACE-COLOR: #ffffff;
    SCROLLBAR-HIGHLIGHT-COLOR: #0033CC;
    SCROLLBAR-SHADOW-COLOR: #666666;
    SCROLLBAR-3DLIGHT-COLOR: #CCCCFF;
    SCROLLBAR-ARROW-COLOR: #6699FF;
    SCROLLBAR-TRACK-COLOR: #000000;
    SCROLLBAR-DARKSHADOW-COLOR: #990000;
    }
    -->
    </style>
    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
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    <!--BODY and }--> aren't causing the problem - I've just tested the original code posted and it works in IE. It won't work in Moz so I assume that's where the problem is _ Moz doesn't do coloured scrollbars.

  7. #6
    Member
    Join Date
    Aug 2003
    Posts
    52
    Member #
    2478
    I use IE, and I have the most recent version available (for win 98 atleast). So i dont understand why it isnt working. Other websites with the same code works just fine, just not mine. I can view other peoples colored scroll bars fine, just not mine.

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Mozilla does not do colored scrollbars (thankfully, because they're one of the most annoying things a webpage can do).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    Member
    Join Date
    Aug 2003
    Posts
    52
    Member #
    2478
    Originally posted by filburt1
    Mozilla does not do colored scrollbars (thankfully, because they're one of the most annoying things a webpage can do).
    what's annoying about it?

  10. #9
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    A web page should only modify the content in a viewport and nothing else. That is one reason people find popups and unders frustrating, for example.

    My other pet peeve is animations. The keyword in a web page is page; it should mostly represent a static, infinitely-long piece of paper. It should not be a crudely interactive video.

    IMOs, of course, but I'm sure many others agree.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  11. #10
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Well sid filb, I agree with you about 80% i reckon, because I do like a little bit of flash animation here and there.

    I don't know why that doing isn't working, sorry :angry:.
    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


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