Changing the side bar

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Forgive me for not thinking. JrzyCrm has the answer. It is because of the doctype. By using the abreviated version IE defaults to looking to it's internal doctype where the scrollbar elements are defined. If you use the www3 doctype the proper way, the scrollbar elements are not defined (or supported) and won't work.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • sycofi5h
  • Expert
  • Expert
  • sycofi5h
  • Posts: 506
  • Loc: Australia

Post 3+ Months Ago

hey thank you everyone

so u guys are pretty much saying it has to be like this
Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<title></title> 

<style type="text\css">
/* Scrollbar properties are only supported by Internet Explorer 6.0 */
body {
  scrollbar-3dlight-color : #cc3300;
  scrollbar-base-color : #777777;
  scrollbar-shadow-color : #cc3300;
  scrollbar-arrow-color : #00bb66;
  scrollbar-darkshadow-color : #000000;
  scrollbar-face : #777777;
  scrollbar-higlight : #ffffff;
  scrollbar-track-color : #00bb66;
}
</style>
</head>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2.   "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <title></title> 
  6. <style type="text\css">
  7. /* Scrollbar properties are only supported by Internet Explorer 6.0 */
  8. body {
  9.   scrollbar-3dlight-color : #cc3300;
  10.   scrollbar-base-color : #777777;
  11.   scrollbar-shadow-color : #cc3300;
  12.   scrollbar-arrow-color : #00bb66;
  13.   scrollbar-darkshadow-color : #000000;
  14.   scrollbar-face : #777777;
  15.   scrollbar-higlight : #ffffff;
  16.   scrollbar-track-color : #00bb66;
  17. }
  18. </style>
  19. </head>

please tell me if this is right......... because well i am a bit lost
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

It should be like this:
Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<title></title>

<style type="text\css">
/* Scrollbar properties are only supported by Internet Explorer 6.0 */
body {
  scrollbar-3dlight-color : #cc3300;
  scrollbar-base-color : #777777;
  scrollbar-shadow-color : #cc3300;
  scrollbar-arrow-color : #00bb66;
  scrollbar-darkshadow-color : #000000;
  scrollbar-face-color : #777777;
  scrollbar-higlight-color : #ffffff;
  scrollbar-track-color : #00bb66;
}
</style>
</head>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title></title>
  5. <style type="text\css">
  6. /* Scrollbar properties are only supported by Internet Explorer 6.0 */
  7. body {
  8.   scrollbar-3dlight-color : #cc3300;
  9.   scrollbar-base-color : #777777;
  10.   scrollbar-shadow-color : #cc3300;
  11.   scrollbar-arrow-color : #00bb66;
  12.   scrollbar-darkshadow-color : #000000;
  13.   scrollbar-face-color : #777777;
  14.   scrollbar-higlight-color : #ffffff;
  15.   scrollbar-track-color : #00bb66;
  16. }
  17. </style>
  18. </head>
  • sycofi5h
  • Expert
  • Expert
  • sycofi5h
  • Posts: 506
  • Loc: Australia

Post 3+ Months Ago

nope sorri it doesnt work
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

works fine for me:

http://www.caffeinefuelled.net/richard- ... scroll.htm

I also added a meta content-type so it validates as html

As a side note, IE "quirks mode" is going to put you into browser compatibility hell unless you are lucky and/or very careful. Bear in mind that quirks mode changes how a lot of things are rendered.
  • sycofi5h
  • Expert
  • Expert
  • sycofi5h
  • Posts: 506
  • Loc: Australia

Post 3+ Months Ago

this is really really werid.
rtm at the moment i went to you preview of my scroll bar and well it works thanks you so copied it and pasted it.

i think that my problem was that i wrote:
Code: [ Select ]
<style type="test\css">

and i was suppose to write
Code: [ Select ]
<style type="text/css">

the only difference was the /, in one of them i use text\css and the other text/css.

and it is true well at least for my computer. so at the moment i am hiting my head on my desk and telling my self that i am the biggest loser.

thankyou all again for helping me. next time i will be sure to try and us the right "\" and"/" thank you.

-Sycofi5h
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

I can't tell you how many times I have done that in the past. I still do it. It's an easy mistake and your not alone in making it.

I've been conditioned over the years to use \ as I've used and still use DOS commands and write batch files and scripts. All the paths in windows and DOS use this. I had to get used to using / in urls in the beginning and I still slip from time to time. :)

Post Information

  • Total Posts in this topic: 37 posts
  • Users browsing this forum: No registered users and 35 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.