Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,456
    Thanks
    15
    Thanked 0 Times in 0 Posts

    change color of iframe scrollbar

    Here's my code:

    <iframe src="NLetters/105e.html" align="middle" scrolling="yes" frameborder="0" class=scroll></iframe>

    and the class:

    .scroll{
    scrollbar-arrow-color:#372D2B;
    scrollbar-face-color:#372D2B;
    scrollbar-track-color:#EEE1B7;
    }

    For some reason the iframe is not picking up the colors of the css.

    why?

  • #2
    Regular Coder
    Join Date
    May 2005
    Posts
    563
    Thanks
    0
    Thanked 3 Times in 3 Posts
    put that code into the css for the body of the pages that will appear in the iframe.

  • #3
    Senior Coder
    Join Date
    May 2004
    Posts
    1,456
    Thanks
    15
    Thanked 0 Times in 0 Posts
    anyway for it to work without putting it in the body?
    I don't really want the body to be the same color scroll

  • #4
    Regular Coder
    Join Date
    May 2005
    Posts
    563
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You put that code in the body css for this file -> NLetters/105e.html

  • #5
    Regular Coder
    Join Date
    Jan 2005
    Location
    Essex
    Posts
    146
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just put that code in the body of the css then it will solve your problem.
    Danny Hayes
    Under Construction www.hayes-design.co.uk


  •  

    Posting Permissions

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