PDA

View Full Version : idunno



blanca_nieve
03-24-2005, 01:28 AM
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>

TheBigT
03-24-2005, 02:50 AM
You might be using Firefox or Netscape. Only IE supports changing scrollbar colors.

jscheuer1
03-24-2005, 03:43 AM
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.

TheBigT
03-24-2005, 11:33 AM
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.

jscheuer1
03-24-2005, 03:38 PM
I've put my css code where its supposed to be(iframe page...in <head></head>)

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

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.

blanca_nieve
03-25-2005, 05:54 PM
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" :p

jscheuer1
03-25-2005, 08:49 PM
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:
.
This really should be solvable.

blanca_nieve
03-26-2005, 02:18 PM
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:
.
This really should be solvable.

jscheuer1, I wasn't directing my "I am female " straight at you... :p

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

jscheuer1
03-26-2005, 04:22 PM
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.