Need help with coloured scrollbars!!!

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Need help with coloured scrollbars!!!

    Hi there,

    Thanks for checking me post out...

    I'm creating a webiste in Dreamweaver MX 2004. There are pages on the site
    with an iFrame which I want to have coloured scrollbars for, instead of the
    plain Internet Explorer ones.

    This is what my css file looks like:

    body{
    margin:0;
    padding:0;
    background-color: #000000;
    SCROLLBAR-3DLIGHT-COLOR: #CCCCCC;
    SCROLLBAR-ARROW-COLOR: #E9E9E9;
    SCROLLBAR-DARKSHADOW-COLOR: #000000;
    SCROLLBAR-FACE-COLOR: #333333;
    SCROLLBAR-HIGHLIGHT-COLOR: #333333;
    SCROLLBAR-SHADOW-COLOR: #000000;
    SCROLLBAR-TRACK-COLOR: #666666;
    }
    td {
    bg colour: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 14px;
    }
    form {
    margin: 0;
    padding: 0;
    }
    a:link {
    COLOR: #0099FF;
    text-decoration: none;
    }
    a:visited {
    COLOR: #0099FF;
    text-decoration: none;
    }
    a:hover {
    COLOR: #FFFFFF;
    TEXT-DECORATION: none;
    }
    a:active {
    COLOR: #0099FF;
    }
    .text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;
    color: #E9E9E9}
    .textfield { font-family: Verdana,Arial, sans-serif; font-size: 10px; color:
    #000000}

    I've linked to the stylesheet in my HTML pages with:

    <link href="../style.css" rel="stylesheet" type="text/css">

    When I view the site in Internet Explorer and Firefox, the scrollbars still
    just appear as they normally do without the custom colours. Is there a way to
    change the Firefox scrollbar colour, do you know?

    Please can you help and see if you can see where I'm going wrong!

    Thank you very much and I hope to hear from you.

    Take care,

    Mark

    Spindrift Guest

  2. Similar Questions and Discussions

    1. Coloured borders not appearing in Netscape/ Firefox
      http://217.146.112.210/test/index.html above is the site under construction - i am having issues getting the sub menu borders on the left...
    2. Importing White Illustrator EPS into coloured box
      I'm trying to import or place a white Illustrator vector eps into a coloured graphic frame in InDesign. All I keep getting is the placed file that...
    3. Displaying coloured code when opening .asax
      Thanks for posting this link - MM guys, can we have this fixed in the next release please?
    4. coloured graphics by colouring the sprite on the fly
      We are developing a CD-ROM which is broken down into several different units. Each unit will have a slightly different look and feel - mainly the...
    5. coloured ls
      Le Thu, 3 Jul 2003 12:59:53 +0300, George <agdm@mail.ru> a écrit : ...
  3. #2

    Default Re: Need help with coloured scrollbars!!!

    This code will not work on any page with a valid and complete doctype (i.e.,
    any page created with DMX2004). Why? Because in standards mode, the
    scrollbar belongs to the html tag, not the body tag. Change your CSS from
    this -

    body {

    to this -

    html, body {

    and you will get what you want, but only in IE/PC. Fortunately, there is no
    way to make it work on any other browser.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Spindrift" <webforumsuser@macromedia.com> wrote in message
    news:da8h52$cv6$1@forums.macromedia.com...
    > Hi there,
    >
    > Thanks for checking me post out...
    >
    > I'm creating a webiste in Dreamweaver MX 2004. There are pages on the site
    > with an iFrame which I want to have coloured scrollbars for, instead of
    > the
    > plain Internet Explorer ones.
    >
    > This is what my css file looks like:
    >
    > body{
    > margin:0;
    > padding:0;
    > background-color: #000000;
    > SCROLLBAR-3DLIGHT-COLOR: #CCCCCC;
    > SCROLLBAR-ARROW-COLOR: #E9E9E9;
    > SCROLLBAR-DARKSHADOW-COLOR: #000000;
    > SCROLLBAR-FACE-COLOR: #333333;
    > SCROLLBAR-HIGHLIGHT-COLOR: #333333;
    > SCROLLBAR-SHADOW-COLOR: #000000;
    > SCROLLBAR-TRACK-COLOR: #666666;
    > }
    > td {
    > bg colour: #000000;
    > font-family: Arial, Helvetica, sans-serif;
    > font-size: 10px;
    > line-height: 14px;
    > }
    > form {
    > margin: 0;
    > padding: 0;
    > }
    > a:link {
    > COLOR: #0099FF;
    > text-decoration: none;
    > }
    > a:visited {
    > COLOR: #0099FF;
    > text-decoration: none;
    > }
    > a:hover {
    > COLOR: #FFFFFF;
    > TEXT-DECORATION: none;
    > }
    > a:active {
    > COLOR: #0099FF;
    > }
    > .text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
    > 9pt;
    > color: #E9E9E9}
    > .textfield { font-family: Verdana,Arial, sans-serif; font-size: 10px;
    > color:
    > #000000}
    >
    > I've linked to the stylesheet in my HTML pages with:
    >
    > <link href="../style.css" rel="stylesheet" type="text/css">
    >
    > When I view the site in Internet Explorer and Firefox, the scrollbars
    > still
    > just appear as they normally do without the custom colours. Is there a way
    > to
    > change the Firefox scrollbar colour, do you know?
    >
    > Please can you help and see if you can see where I'm going wrong!
    >
    > Thank you very much and I hope to hear from you.
    >
    > Take care,
    >
    > Mark
    >

    Murray *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139