Welcome, Guest. Please Login or Register.
April 30, 2025, 01:56:00 AM
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  |  Development  |  Graphics and Templates  |  Problems with Css in templet « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Problems with Css in templet  (Read 1043 times)
Jebbes
Noobie
*
Posts: 22


Trying to learn more about webbdesign

ICQ - 113250390jebbes@hotmail.com WWW
Problems with Css in templet
« on: June 14, 2003, 10:14:17 AM »
Reply with quote

Hi

I want to change the color on the scrollbar and I have added the css code to the templet but it want change the color and things on the scrollbar.

The code I have used

body
 {
   scrollbar-3d-light-color : #A997C4;
   scrollbar-arrow-color : #333333;
   scrollbar-base-color : #999999;
   scrollbar-dark-shadow-color : #999999;
   scrollbar-face-color : #666699;
   scrollbar-highlight-color : #999999;
   scrollbar-shadow-color : #999999;
   font-family: verdana, arial, helvetica, serif;
   font-size: 12px;
   background-color: #CCCCCC;
 }

This only change the scrollbars in the small windows in the board why not the whole templet page?

Pleas help me

You can look at

http://www.soderbymalmsskolan.haninge.se/cgi-bin/yabbse/index.php
« Last Edit: June 14, 2003, 10:19:27 AM by Jebbes » Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Problems with Css in templet
« Reply #1 on: June 14, 2003, 04:33:22 PM »
Reply with quote

If you are using the <!DOCTYPE html PUBLIC ..... tag, try deleteing it.
Logged

Jebbes
Noobie
*
Posts: 22


Trying to learn more about webbdesign

ICQ - 113250390jebbes@hotmail.com WWW
Re:Problems with Css in templet
« Reply #2 on: June 14, 2003, 04:40:20 PM »
Reply with quote

Thank you, this solved the problem.

Do you know why?

Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Problems with Css in templet
« Reply #3 on: June 14, 2003, 04:47:30 PM »
Reply with quote

I really do not know why .. but my best guess is IE only validates the start of an html file, if it starts with <html> .. so if you put the <!DOCTYPE html PUBLIC? tag under the <html> it will work also.. or my be cause the scroll's color not supported by W3C.
« Last Edit: June 14, 2003, 04:50:30 PM by A.M.A. » Logged

Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Problems with Css in templet
« Reply #4 on: June 14, 2003, 04:56:43 PM »
Reply with quote

It's probably because the DTD you're supplying doesn't support colouring the scroll bars - if you don't supply one then IE uses its own and thus supports coloured scroll bars.

It's the price you pay for compliancy :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Problems with Css in templet « 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.011 seconds with 19 queries.