Current location: Hot Scripts Forums » General Web Coding » CSS » Scrollbar colours


Scrollbar colours

Reply
  #1 (permalink)  
Old 11-02-04, 08:43 AM
El Barto El Barto is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Scrollbar colours

'Ello,

I am trying to change the colour of the scroll bars on my web site, but every time I do it underlines it and says "This is not supported in IE v5.0, Netscape v6.0 and Netscape v7.0." I can guess that it won't work in IE 5 cos of it being to old and couldn't use this attribute of style sheets, althoguh some conformation of this would be nice. Also I am guessing that Netscape does support changing the scrollbar colours, but does it a different way, could any one tell me how to change them in Netscape please?

The way i am changing the colours in the code atm is shown below.
Code:
scrollbar-face-color
scrollbar-arrow-color
scrollbar-track-color
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-02-04, 09:34 AM
JoshPowell's Avatar
JoshPowell JoshPowell is offline
Newbie Coder
 
Join Date: Jul 2004
Location: Central VA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
There is NO way to color scrollbars in any other browser aside from IE6 using CSS.. its NOT real CSS, and its some concoction Microsoft cooked up. It makes your code non-valid.. as its not real CSS.

Josh
__________________
<center><b>Josh Powell - &uuml;b&euml;r g&euml;&euml;k</b>

<a href="http://www.ki4bbo.org">KI4BBO.org</a>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-02-04, 09:38 AM
El Barto El Barto is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

ah I c, its just soem thing that Microsoft made up, wish they would stop doing that, it just confuses me, thank you for clarification though .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-02-04, 10:16 AM
El Barto El Barto is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Question Div tag and CSS

There is some thing else that would help me out if some one could help me with it. I have set a page to link to an external style sheet and in that style sheet it has the position of one of my div tags put in it, they are linked perfectly as it works fine in IE and partly works in Netscape. The problem is that I am tring to get the div tag to be set to be 0 pixesl fro mthe top of the frame. This works perfectly in IE but not in Netscape 7.2, can any one ehlp em with this, here is the code that I am using, I put the part that I would think would make it go 0 pixels from the top in bold:
Code:
div.title
	{
		display: block;
		position: absolute;
		left: 0px;
		top: 0px;
		text-align: center;
		width: 631px;
		height: auto;
		font-family: "Old English Text MT", "French Script MT", Arial;
		overflow: hidden;
	}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-03-04, 12:19 PM
X - Factor UK X - Factor UK is offline
Newbie Coder
 
Join Date: Oct 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
i dont know why that wouldn't work but, try using cm or mm like:

top: 0cm;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 11-03-04, 07:35 PM
El Barto El Barto is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by X - Factor UK
i dont know why that wouldn't work but, try using cm or mm like:

top: 0cm;
I just tried that and it didn't work, I think tis probabyl some thing small that I missed by accident soem where and just cannon see it. I will upload my web site to the net, or what I have done on it and then you can look at how itactully lokoks in Netscape and IE and the code, becasue from what I can see this should work =/.

Also I tried setting it to a minus number i.e -20px and it goes up, so I could get it up to the top liek that, but then the IE versinogoes to far up. The div tag that I am using is not nested inside of any thing else how every the page that it is in is in a frame, but the frame ends above where it is actully showing the div tag contents to be. May be it being in a frame would make a difference, although I can't see how it could for this.

Last edited by El Barto; 11-03-04 at 07:40 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 11-19-04, 04:41 PM
junkie_xl's Avatar
junkie_xl junkie_xl is offline
Newbie Coder
 
Join Date: Apr 2004
Location: Birkerød, Denmark
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Try this

body { margin: 0; }
and then the original code you had for the div.title
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollbar!!!!!! LiLSweetie HTML/XHTML/XML 8 07-22-04 06:01 PM
scrollbar on the left side on a modal window davidklonski HTML/XHTML/XML 0 06-23-04 05:55 PM
how have immitate the scrollbar? davidklonski JavaScript 1 05-19-04 05:40 PM
changing image colours washi01uk JavaScript 1 05-17-04 08:04 AM
Rotating Cell Colours - ASP Stealth Website Reviews 0 06-11-03 08:38 PM


All times are GMT -5. The time now is 09:54 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.