Scrollbars in kubrick style ??

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Matthijs

Scrollbars in kubrick style ??

Post by Matthijs »

I have used the kubrick style, and i have modified the index.tpl.
But i want to use colored scrollbars. But when i use the css file, i dont know where to put the scrollbar code.

Does somebody know, how to get the scrollbars colored ?

My index.tpl looks like this :
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Input the code at the end of the css file.
Guest

Post by Guest »

falk wrote:Input the code at the end of the css file.

Latest part of the css file :

Code: Select all


blockquote {
    margin: 15px 30px 0 10px;
    padding-left: 20px;
    border-left: 5px solid #ddd;
    }

blockquote cite {
    margin: 5px 0 0;
    display: block;
    }

.center {
    text-align: center;
    }

hr {
    display: none;
    }

a img {
    border: none;
    }

.navigation {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
    }

{
scrollbar-face-color: #FFFFFF; 
scrollbar-shadow-color: #cccccc; 
scrollbar-highlight-color: #cccccc; 
scrollbar-3dlight-color: #cccccc; 
scrollbar-darkshadow-color: #cccccc; 
scrollbar-track-color: #FFFFFF; 
scrollbar-arrow-color: #cccccc;
}


/* End Various Tags & Classes*/



/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
    It won't be a stylish marriage, I can't afford a carriage.
    But you'll look sweet upon the seat of a bicycle built for two." */

But it dont work ! Or do i use the wrong place in the css ????
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

html, body, textarea {
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #cccccc;
scrollbar-highlight-color: #cccccc;
scrollbar-3dlight-color: #cccccc;
scrollbar-darkshadow-color: #cccccc;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #cccccc;
}
Matthijs

Post by Matthijs »

falk wrote:html, body, textarea {
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #cccccc;
scrollbar-highlight-color: #cccccc;
scrollbar-3dlight-color: #cccccc;
scrollbar-darkshadow-color: #cccccc;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #cccccc;
}
WORKS !!!! GREAT !!!
Matthijs

Background fixed ?

Post by Matthijs »

Me and my questions...............

But i wonder if somebody know how to get the background fixed ?

See my css file above !!
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
background-color: #d5d6d7;
color: #333;
text-align: center;
background: url("{TEMPLATE_PATH}images/kubrickbgcolor.jpg");
background-attachment:fixed;
}
Guest

Post by Guest »

falk wrote:body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
background-color: #d5d6d7;
color: #333;
text-align: center;
background: url("{TEMPLATE_PATH}images/kubrickbgcolor.jpg");
background-attachment:fixed;
}

I have edit the picture in the "#Page" part.
and when i add the background-attachment command to it, it dont work !

Code: Select all

#page {
    background-color: white;
    text-align: left;
    background: url("{TEMPLATE_PATH}images/test.jpg") ;
    background-attachment:fixed; 
    }
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Guest, CSS selectors are case sensitive. If you called your elemtn "#Page", you must also use CSS "Page" and not "page".

Best is to give us the URL to your blog.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Matthijs

Post by Matthijs »

garvinhicking wrote:Guest, CSS selectors are case sensitive. If you called your elemtn "#Page", you must also use CSS "Page" and not "page".

Best is to give us the URL to your blog.

Regards,
Garvin

URL : http://mmf.eppenga.com

My CSS :
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You must put your page{} element at the end of the page. If you look in your CSS, you redefine "background" for #page in the middle of your CSS, so your first assignment will be overwritten.

Please also do not paste your whole CSS here again. A URL is sufficient.

I also recommend to think again if you really need a frameset. It complicates stuff and especially templating a bit. :-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

garvinhicking wrote:You must put your page{} element at the end of the page. If you look in your CSS, you redefine "background" for #page in the middle of your CSS, so your first assignment will be overwritten.

Please also do not paste your whole CSS here again. A URL is sufficient.

I also recommend to think again if you really need a frameset. It complicates stuff and especially templating a bit. :-)

Best regards,
Garvin
I dont understand your answer.
Can you show me it with my css ??

My css : http://mmf.eppenga.com/serendipity/temp ... /style.css
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
I dont understand your answer.
Read again the whole thread, then :-)

Do as falk already said; put

Code: Select all

#page {
    background-color: white;
    text-align: left;
    background: url("{TEMPLATE_PATH}images/test.jpg") ;
    background-attachment:fixed;
    }
inside your style.css file AT THE END OF THE FILE. :-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Matthijs

Post by Matthijs »

it dont work !

for a update of my css see :
http://mmf.eppenga.com/serendipity/temp ... /style.css

for some reason, i can edit the jpg file, but when i make changes like fixed commands, he wil not react.

i have put the #page{} on the end of the file
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Your HTML contains errors:

http://validator.w3.org/check?verbose=1 ... /index.php

The <div id="page"> is not closed, thus no CSS can apply properly to it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply