There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer ipod itunes lan laptop malware motherboard mouse network networking outlook 2007 power printer problem ram router screen slow sound trojan upgrade usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
HTML: IFRAME scrollbar question


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
JonathanAnon's Avatar
Senior Member with 464 posts.
 
Join Date: Dec 2004
Experience: Advanced
31-Mar-2005, 11:25 PM #1
HTML: IFRAME scrollbar question
Hi,

Is it possible to change the colour of the scrollbar on an IFRAME document or am I stuck with that dull grey. Any ideas?

regards and thks in advance.
K
snowieken's Avatar
Member with 48 posts.
 
Join Date: Mar 2005
Location: The land of chocolate
Experience: I can manage... :)
01-Apr-2005, 04:05 AM #2
You will have to use CSS - remember that this will only work in Internet Explorer and earlier versions of Opera.

This is an excellent explanation of how to do it:
http://www.b-man.dk/tutorials/css_scrollbarcolour.asp

You will have to apply that style to every page that will be loaded in the iframe. Applying it to the body of the parent page won't work. In other words, if you are using this iframe to load external pages in, it is not possible.
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
01-Apr-2005, 07:49 AM #3
It will work in newer versions of Opera too. (If "enable styling of scrollbars" is checked).

But, keep in mind, that scrollbar css is not valid.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:42 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.