:( My colored scrollbars don't work!
Hey all. I finally finished my site. But there's one huge problem: The colored CSS scrollbars in my iframe don't work. The main scrollbars work, though. I'm using internet explorer 6. What could be the problem?
here's the page, feel free to look at the code.
mandyfan posted this at 08:20 — 16th August 2004.
He has: 21 posts
Joined: Jul 2004
okay lol i just got that fixed. but now im facing another problem. the background of the iframe is white!
Dragon of Ice posted this at 15:27 — 16th August 2004.
He has: 578 posts
Joined: Jun 2004
That's because you didn't set the background color.
kb posted this at 17:53 — 16th August 2004.
He has: 1,380 posts
Joined: Feb 2002
Just a comment...don't mess with the scrollbar colors. I used to, but with browsers like Firefox and Mozilla where you can change skin of the browser, people have their scrollbars set how they want them. Dont touch them.
mandyfan posted this at 18:29 — 16th August 2004.
He has: 21 posts
Joined: Jul 2004
But not a lot of people use those browsers....most people using windows use IE.
And the reason I didn't set the background color is because I want it to be transparent so the layout shows through. This works fine in Safari, but not in IE.
KarenArt posted this at 19:29 — 16th August 2004.
She has: 354 posts
Joined: May 2001
Did you use background-color:transparent?
gotta finish redesigning my sites so I can show them again.
The purpose of education is... to get more jokes!
mandyfan posted this at 22:14 — 16th August 2004.
He has: 21 posts
Joined: Jul 2004
In the external file (main.html), yes I did put background: transparent for the iframe. Am I supposed to do that in the iframe file as well? But where? in the section?
Sorry if what I said is kinda confusing, I'm very new to html.
KarenArt posted this at 23:24 — 16th August 2004.
She has: 354 posts
Joined: May 2001
I'm not sure what you have but in your css have
iframe.CLASS {
background-color: #COLOR CODE;
Any other css;
}
I've haven't used iframes for awhile so I'm not sure what the problem might be for you trying to set the background color.
Oops... just realized something....
What you want to do is give your iframe a class for css styling and set the background color in an external css file. You can also do the css inline, but I'd suggest keeping everything external.
I like to have inline styles on my php pages where I need to change a height, width, etc. for an element.
gotta finish redesigning my sites so I can show them again.
The purpose of education is... to get more jokes!
mandyfan posted this at 23:32 — 16th August 2004.
He has: 21 posts
Joined: Jul 2004
thank you soo much....i'll try that now.
so what you're saying is that instead of writing out all my css in the page, i should make an external .css file?
i'll try both ways, thanks.
mandyfan posted this at 23:59 — 16th August 2004.
He has: 21 posts
Joined: Jul 2004
okay i tried both ways...still doesn't work.
its okay though i've decided all i'll do is set the iframe bg color to the main layout color. no biggie...but thanks for all help anyway!
kb posted this at 00:45 — 17th August 2004.
He has: 1,380 posts
Joined: Feb 2002
Transparent isnt supported across the board
And just for your knowledge...IE is the major browser...but there are others, and their numbers are growing. Mozilla/Firefox is on the rise, Opera has been around for awhile, Netscape is still used, AOL, etc etc. IE is most definitely not the browser of choice, and you shouldn't ignore your other users as well
Plus, most people find the scrollbars annoying if the colors change
mandyfan posted this at 00:57 — 17th August 2004.
He has: 21 posts
Joined: Jul 2004
i set the background color to #ff9999
still shows up as white!
urggghhhh i am so frustrated.
mandyfan posted this at 01:24 — 17th August 2004.
He has: 21 posts
Joined: Jul 2004
ok its fixed now...i just set a background image....it kind of ruins the 'mandy rocks' part of the layout but oh well...i'll try to make the next layout better.
now i have to fix all the pages. yay.
andy206uk posted this at 09:55 — 17th August 2004.
He has: 1,758 posts
Joined: Jul 2002
Also... The IE team seem to be keen to make the next release of IE more in line with what users want and that will mean making it standards compliant, so they may well get rid of proprietry code like the css scrollbar colouring, marquee etc etc.
Microsoft know that they're going to loose out if people keep moving to these new browsers so they WILL give people what they want, design for standards-compliance now and you won't have to redesign in the future.
Andy
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.