SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with code please!

    Hi,

    I've just made this code for a scroller text box on a template. What I want it to do, is have the same colour as my bg except for the arrows. How do I do this please?

    Code:

    <div style="width: 420px; height: 290px; overflow: auto; padding: 5px">
    content in here
    </div>

    Regards
    Cazzy

  2. #2
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    The following web application may help you achieve what you want.

    http://www.iconico.com/CSSScrollbar/

    However be warned that it is a proprietary technology as only Internet Explorer allows changing the colors of scrollbars. Firefox, Opera, Safari, Chrome (et al) will not allow you to achieve this effect.

  3. #3
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi ALex,

    Thanks for the help. As the majority use IE I thought it would be ideal. However, stored in brain for future reference

    Regards
    Cazzy

  4. #4
    SitePoint Evangelist captainccs's Avatar
    Join Date
    Mar 2004
    Location
    Caracas, Venezuela
    Posts
    516
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    As the majority use IE I thought it would be ideal.
    I think designing for a particular browser is a bad idea. I like to design for standard compliant browsers. When I see a warning like "Best viewed in XYZ browser" I tend to go view something else with MY favorite browser.
    Denny Schlesinger
    web services

  5. #5
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Denny,

    The site is very basic, I don't like the design, but I'm trying to do it for a friend (they know I'm new to this). I won't make it browser specific, just that most use IE. I'm testing it in Firefox and Safari for windows too.

    For some reason Opera (latest version) in Xp isn't working successfully.

    Regards
    Cazzy


Bookmarks

Posting Permissions

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