Welcome, Guest. Please Login or Register.
July 23, 2025, 06:23:36 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  tried to change scrollbar color in template... only changed the interior one..! « previous next »
Pages: [1] Reply Ignore Print
Author Topic: tried to change scrollbar color in template... only changed the interior one..!  (Read 488 times)
tovlakas
Noobie
*
Posts: 16


I'm a llama!

tried to change scrollbar color in template... only changed the interior one..!
« on: March 14, 2003, 04:01:21 AM »
Reply with quote

i tried to change the scrollbar color in the templete... but it only changed the scrollbar that is on the template page itself!  the little one that scrolls the code for the template... the page's scrollbar remains unchanged.  why is this and how do i make all of the scrollbars to the new colors, not just that template scrollbar??
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #1 on: March 14, 2003, 04:05:35 AM »
Reply with quote

add one for textarea class too
btw, this css style (scrollbar) only works on IE
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
tovlakas
Noobie
*
Posts: 16


I'm a llama!

Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #2 on: March 14, 2003, 10:38:09 AM »
Reply with quote

but... the text area IS the one with the scrollbar colored... i want the PAGE to have it too..
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #3 on: March 14, 2003, 11:21:51 AM »
Reply with quote

xhtml does not allow such things to be done.  You will have to change the doctype to HTML 4.

-[Unknown]
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #4 on: March 14, 2003, 11:08:25 PM »
Reply with quote

Actually, I have changed scrollbar colors with XHTML myself, so I know that IE supports it.

It's possible that it requires an XML declaration and not just the doctype. If so, try adding this at the top of the template:

<?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?>
(You can't type it directly in the template, as the <? at the beginning of the XML declaration would be interpreted as PHP code)
« Last Edit: March 14, 2003, 11:08:52 PM by Daniel Hofverberg » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #5 on: March 15, 2003, 01:33:41 AM »
Reply with quote

Quote from: Daniel Hofverberg on March 14, 2003, 11:08:25 PM
Actually, I have changed scrollbar colors with XHTML myself, so I know that IE supports it.

It's possible that it requires an XML declaration and not just the doctype. If so, try adding this at the top of the template:

<?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?>
(You can't type it directly in the template, as the <? at the beginning of the XML declaration would be interpreted as PHP code)


If you put the xml declaration, IE will not see the doc type, and will decide it is HTML 4.  This will make it work.

Trust me, IE will not do the main scroll bar in XHTML.

-[Unknown]
Logged
tovlakas
Noobie
*
Posts: 16


I'm a llama!

Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #6 on: March 15, 2003, 02:41:04 AM »
Reply with quote

thanks for all the responses.. but am i to type that xml line into the template on the web... or into template.php... the actual template file?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #7 on: March 15, 2003, 02:57:29 AM »
Reply with quote

Replace the first line of template.php with this:

<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.01 transitional//en">

-[Unknown]
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:tried to change scrollbar color in template... only changed the interior one.
« Reply #8 on: March 15, 2003, 02:57:40 AM »
Reply with quote

Quote from: Tovlakas on March 15, 2003, 02:41:04 AM
thanks for all the responses.. but am i to type that xml line into the template on the web... or into template.php... the actual template file?
Either - It doesn't matter how you do it. Either add it to the template in the admin section, or to the actual template.php file.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  tried to change scrollbar color in template... only changed the interior one..! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.013 seconds with 17 queries.