Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    How do I change the color of the scrollbar for my iframe? I can do it for the main document but cant get it for the iframe, please help

    Thanks

  2.  

  3. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    Duh, lol I figured it out. Just put the scrollbar style in the document your calling to the iframe

  4. #3
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    You're probably puting the CSS right into the main document. I'd recommend you use style sheets, but a quick way to get it to work on your iFrame is to insert the CSS into the page that's loading into the iframe.

    You can put this CSS in an external style style sheet and link to it in all your pages, like this:
    Code:
    <link rel="stylesheet" type="text/css" href="style.css" />
    This code goes in the <head> section of your code.

  5. #4
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    Oh wow thanks Spluf, I havnt tried using a external .css before. I just did it and it works great! This will make my life way easier


Remove Ads

Posting Permissions

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

Search tags for this page

how to change iframe scrollbar color in css

Click on a term to search for related topics.
All times are GMT -6. The time now is 05:17 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com