...

View Full Version : Removal of WinXP Buttons / Bars in IE6



Jon T
12-11-2002, 07:38 PM
Now, I know there is a snip of code to remove the XP style from Scrollbars in you forms, and for the life of me, I can not find it on Microsofts Web Site...

Anyone know what I'm talking about?

TYIA!

krycek
12-11-2002, 07:45 PM
I think this is what you are after. (It's CSS of course :))



* {
scrollbar-arrow-color: #99ACD5;
scrollbar-track-color: #CCCCEE;
scrollbar-base-color: #004C8A;
scrollbar-highlight-color: #004C8A;
scrollbar-shadow-color: #004C8A;
scrollbar-3dlight-color: #668CBC;
scrollbar-darkshadow-color: #668CBC;
}


That will apply it to all elements with a scrollbar, but of course you can change the * to body, or textarea, etc.

I hope that helps! :D

::] krycek [::

Jon T
12-11-2002, 08:33 PM
Nope, but TY, tere is a bit of code that removes the XP style, I have seen it before, but can not find it!

krycek
12-11-2002, 11:27 PM
hmmm, maybe you need to be a bit more descriptive with your question, then...?



...a snip of code to remove the XP style from Scrollbars in you forms...


I assumed that you simply meant exactly that, to remove the XP style from scrollbars :confused:

Can you elaborate...? It may be that someone here knows what you mean, but misunderstood, in the same way that I did.

::] krycek [::

Jon T
12-12-2002, 12:04 AM
Humph, it's pretty much what I said. Explorer, as we all know has little features you can turn on and turn off in the body tag, like scroll="no" right...

So, whats the tag to disable the XP gui from form elements...

:D

krycek
12-12-2002, 12:13 AM
I guess you have answered you own question, then... just do scroll="no" :confused:

But somehow I doubt that's what you mean - why can't you just say exactly what you are trying to disable? :confused:

However, I will hazard a guess that this has nothing to do with scrollbars... and maybe you just want to change form elements.

Just try changing the borders etc. in CSS, that will do it. :)

::] krycek [::

Jon T
12-12-2002, 12:25 AM
Krycek... Here is my first post. It says it all

Originally posted by Jon T
Now, I know there is a snip of code to remove the XP style from Scrollbars in you forms, and for the life of me, I can not find it on Microsofts Web Site...

Anyone know what I'm talking about?

TYIA!

So, if you have windows XP, you will notice that all your form buttons, scrollbards, E V E R Y T H I N G, in your web page form, has the XP GUI style. Now, you can remove the XP GUI style so that even in windows XP, the form will look like every other form on every other computer.

Just like a MAC, with OSX. When you look at the forms, it has the MAC style buttons, MAC style scrollbars for text areas, etc...

Is this clear? Sorry if I sound short, but I can not think of any other way to explain it... :confused:

krycek
12-12-2002, 12:28 AM
Your post hasn't changed. It is still as undescriptive as before. Notice you said scrollbars. You did not say all form elements.

Plus, I told you how to do it.

Be more descriptive next time, and a little nicer to people who try to help you - or else they may not bother.

::] krycek [::

Jon T
12-12-2002, 12:45 AM
Originally posted by krycek
Be more secriptive next time, and a little nicer to people who try to help you - or else they may not bother.

::] krycek [::

That is why I had said the following.

Sorry if I sound short, but I can not think of any other way to explain it...

I guess I am alone in my ignorance... When I find the answer, I will be sure to post it for everyone to use.

TY for taking the time in at least trying to help.

krycek
12-12-2002, 12:54 AM
no worries, but I am pretty sure that I know what you mean by now, and as far as I know the answer is simply to set the border, background-color, and color properties etc. of the elements in question. Although they will not apply directly to the ACTUAL border, background etc. of the element, setting them should force XP to use the older style.

I know this works because I did it myself just a few days ago.

::] krycek [::

oracleguy
12-12-2002, 03:25 AM
Yeah using CSS you can override what the form elements look like. However you'll have to find the settings to aproximate what they used to look like in previous windows versions.

krycek
12-12-2002, 01:26 PM
thanks for the backup, oracleguy :thumbsup:

::] krycek [::

Jon T
12-12-2002, 01:54 PM
Ok, you are both true, I can change these features though CSS, but what if I want the form elements to look normal, as it would on Win2k, and further, what if I wanted the form elements to change color based on the users system theme? CSS would not do this, correct...

Sorry to disappoint you, but this is what I was looking forů Quote from MSDN.

Windows XP user interface support
When running on Windows XP, Internet Explorer 6 and the content displayed in it sports a look and feel that matches the Windows XP platform. You can opt to have your HTML content not take on the same look as the operating system for elements such as buttons and scroll bars, by adding the following META tag:


<META HTTP-EQUIV="MSThemeCompatible" Content="No">

TY Both for your help though...

krycek
12-12-2002, 03:27 PM
hmm, that's useful - I never knew that existed :)

however, you can do all the other stuff you mentioned quite easily in CSS, like making the colours match the user's system colours.

I would point out though that removing the theme *may* not still allow the elements to match the system colours, although I see no reason why they shouldn't. But then, this is Microsoft we are talking about, and reason does not always come into it :D

...glad you found what you were looking for though :thumbsup:

::] krycek [::

Jon T
12-12-2002, 03:33 PM
Ok, you have my interest, what is the CSS to maintain ones system colors, based on what the user has selected?

krycek
12-13-2002, 03:08 AM
http://dhtmlkitchen.com/css/uitestCSS.html

::] krycek [::

Jon T
12-13-2002, 04:35 AM
krycek, cool, but many of those in the third window give errors. Do you get the errors too?

krycek
12-13-2002, 01:51 PM
yes, if you read the details you will see that some are specific to some browsers. They are there as examples for you to understand and then use appropriately yourself :)

::] krycek [::



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum