Jump to content

Archived

This topic is now archived and is closed to further replies.

Tomcat13

PHP and scrollbar color

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

Share this post


Link to post
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]

Share this post


Link to post
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

Share this post


Link to post
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>';

Share this post


Link to post
Share on other sites

×

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.