Jump to content

PHP and scrollbar color


Tomcat13

Recommended Posts

I've tried the following script to add some color to my scrollbar:

<style type="text/css">

<!--
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}
-->

</style>

It works with HTML but not in PHP. Not for me.

Any suggestions?


Thank you in advance
Link to comment
Share on other sites

try to use echo
[code]
echo "style type="text/css">

<!--
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}
-->

</style> [/code]
if that doesnt work remove the hide tags <!-- -->[code]
style type="text/css">


BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}


</style>[/code]
Link to comment
Share on other sites

[!--quoteo(post=360803:date=Apr 1 2006, 10:46 PM:name=shortj75)--][div class=\'quotetop\']QUOTE(shortj75 @ Apr 1 2006, 10:46 PM) [snapback]360803[/snapback][/div][div class=\'quotemain\'][!--quotec--]
try to use echo
[code]
echo "style type="text/css">

<!--
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}
-->

</style> [/code]
if that doesnt work remove the hide tags <!-- -->[code]
style type="text/css">
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}


</style>[/code]
[/quote]
They don't work partner..
Any more ideas? Anybody...

Thanks
Link to comment
Share on other sites

try...

echo '<style type="text/css">

<!--
BODY
{
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #008055;
scrollbar-face-color: #008080;
scrollbar-highlight-color: #83D8B0;
scrollbar-shadow-color: #FFFFFF;
scrollbar-3d-light-color: #FFFFFF;
scrollbar-dark-shadow-color: #FFFFFF;
}
-->

</style>';
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.