Results 1 to 9 of 9

Thread: idunno

  1. #1
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default idunno

    hello....
    Im trying to change the scroll bars for an I frame on my personal website....

    I've put my css code where its supposed to be(iframe page...in <head></head>)

    yet the bars aren't changing......


    I don't think anything is wrong with my code...

    <STYLE type="text/css">
    <!--
    BODY {
    scrollbar-face-color: #FF97FF;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #CC0099;
    scrollbar-darkshadow-color: #990066;
    scrollbar-shadow-color: #990066;
    scrollbar-arrow-color: 000000;
    scrollbar-track-color: #990066;
    }
    -->
    </STYLE>

  2. #2
    Join Date
    Feb 2005
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You might be using Firefox or Netscape. Only IE supports changing scrollbar colors.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Oddly enough, you need to put the style declaration on the page(s) that are loaded into the iframe, not on the page that contains the iframe. TheBigT's right though, only works in IE5+, possibly not until 6.

  4. #4
    Join Date
    Feb 2005
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I thought he did put it on the page? Isn't that how he already described it.. oh well. As long as it works now.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by blanca_nieve
    I've put my css code where its supposed to be(iframe page...in <head></head>)

    yet the bars aren't changing......
    Quote Originally Posted by TheBigT
    I thought he did put it on the page?
    Well, as I said, oddly enough, it does NOT go on the iframe page. It goes in the page loaded into the iframe (the page named in the iframe's src= attribute). I admit though, it is unclear just what page blanca_nieve was referring to.

  6. #6
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by blanca_nieve
    hello....
    I've put my css code where its supposed to be(iframe page...in <head></head>)
    I did put the code in its correct place.... iframe page.... then <head></head>

    thats what I said above...

    Im working in IE6...

    I put scrollbar changes in the main page and they worked....

    but when I put the code in the iframe page(the page that loads in the iframe)
    it doesn't work for the Iframe...

    so... I took the page out of the Iframe and see if that worked... the scrollbars didn't change....

    The code is correct..... so I don't understand the problem....

    And for the record... Im female.... not male...

    I don't know any guys that would have the user name "snow white"

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    For the record, I never referred to you as 'he' except by quote. I didn't know the translation was "snow white" though. I did have a feeling you were not a he when I saw the colors involved still, I made no assumption on that. That out of the way, I tried this 'at home' and it worked fine. Are you using a strict !DOCTYPE declaration on the iframe content page? If so, your code is not correct for that doctype. Or, is the content page on a different server than the framing page? If it is not one of those two, how about posting a link to the page ala:
    PLEASE: Include the URL to your problematic webpage that you want help with.
    This really should be solvable.

  8. #8
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1
    For the record, I never referred to you as 'he' except by quote. I didn't know the translation was "snow white" though. I did have a feeling you were not a he when I saw the colors involved still, I made no assumption on that. That out of the way, I tried this 'at home' and it worked fine. Are you using a strict !DOCTYPE declaration on the iframe content page? If so, your code is not correct for that doctype. Or, is the content page on a different server than the framing page? If it is not one of those two, how about posting a link to the page ala:
    PLEASE: Include the URL to your problematic webpage that you want help with.
    This really should be solvable.
    jscheuer1, I wasn't directing my "I am female " straight at you...

    but like you said... it was the !DOCTYPE.. I understand why...its all fixed now..
    Thanks,

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You're welcome but, didn't you figure this out before reading my post? I'm glad it worked out for you. I'd still be interested in seeing the final result. I like what many people have done with these custom scrollbars and have yet to tire of seeing examples. I've used them myself in limited fashion, it is just a shame NS and FF don't support them. I've heard rumors that, NS, at least has some plans in that direction.

Bookmarks

Posting Permissions

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