Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Style won't change  (Read 7104 times)

0 Members and 1 Guest are viewing this topic.

kateheaven

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 78
    • Kate Hudson Heaven
Style won't change
« on: January 02, 2006, 01:28:05 am »

I have another problem. It's similar to this one - http://forum.coppermine-gallery.net/index.php?topic=25817.0 - but not only do the scrollbar colours not change, but nothing I edit in the style.css file shows up when I've saved it. The changes also do not show up when I edit template.html without having a custom header/footer.
« Last Edit: January 03, 2006, 07:42:17 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Style won't change
« Reply #1 on: January 02, 2006, 01:41:25 am »

You might have to try a forced refresh with control+F5. If that doesn't help, make sure that the file is referring to the correct css file. If that all fails, please provide a link. Also, describe what you have changed and what it's supposed to look like.
Logged

kateheaven

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 78
    • Kate Hudson Heaven
Re: Style won't change
« Reply #2 on: January 02, 2006, 01:51:13 am »

http://www.nkidman.com/images2323/gallery2/index.php

I've added my scrollbar colours into the style.css file like this -

body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color : #AEAEAE;
        margin: 0px;
        background-color:#FFFFFF;
        background-image:url(/layoutgfx/bg2.gif);
        background-repeat:repeat;
        scrollbar-face-color: #DBDBDB;
        scrollbar-shadow-color: #FFFFFF;
        scrollbar-highlight-color: #FFFFFF;
        scrollbar-3dlight-color: #FFFFFF;
        scrollbar-darkshadow-color: #FFFFFF;
        scrollbar-track-color: #DBDBDB;
        scrollbar-arrow-color: #CB6597;
}

The scrollbar should be like http://www.nkidman.com/

My other problem is with another theme I've created but I'm going to have another look at that and then post the details about that.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Style won't change
« Reply #3 on: January 02, 2006, 02:11:45 am »

Of course nothing works correctly - you have multiple <body> delcarations, etc.  You need to read up on how to write HTML.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kateheaven

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 78
    • Kate Hudson Heaven
Re: Style won't change
« Reply #4 on: January 02, 2006, 02:49:58 am »

thanks, but could you be a bit more specific? where?
Logged

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Re: Style won't change
« Reply #5 on: January 02, 2006, 06:56:34 pm »

Well, with all do respect, http://www.nkidman.com/ is a mess! It's a suprise that it still look good!!

You did your website using PSP, bad idea! (same goes for photoshop) So take for exemple:

Code: [Select]
<BODY>

<script type="text/javascript" src="http://www.makepovertyhistory.org/whiteband_small_right.js"></script>

<body background="/layoutgfx/bg2.gif" valign="center">
<body bgcolor="#DBDBDB">

You can have only one "body" declaration on a page. This is correct:

Code: [Select]
<body style="background-image: url(/layoutgfx/bg2.gif); background-color: #DBDBDB;" valign="middle">

<script type="text/javascript" src="http://www.makepovertyhistory.org/whiteband_small_right.js"></script>

And also the meta information is wrong, this is correct:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<HTML>
<HEAD>
<TITLE>Nicole Kidman @ Nicole's Magic » the #1 fansite for nicole</TITLE>
<META NAME="Author" CONTENT="Jess">
<META NAME="Generator" CONTENT="Jasc Paint Shop Pro 7">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="CONTENT-LANGUAGE" content="English">
<meta http-equiv="VW96.OBJECT TYPE" content="Document">
<meta name="RATING" content="General">
<meta name="ROBOTS" content="index,follow">
<meta name="DESCRIPTION" content="Fansite for Oscar winning actress Nicole Kidman. Features the latest news, a comprehensive gallery, media, downloads, information, style features, fan interaction, a forum and much more.">
<meta name="KEYWORDS" content="nicole kidman, nicole, niocle, kidman, kidanm, kidamn, australia,
the stepford wives, joanna eberhart, cold mountain, ada monroe, moulin rouge, satine,
sparkling diamonds, the hours, the others, to die for, the human stain, dogville, birth,
bewitched, the interpreter, practical magic, dead calm, days of thunder, windrider, bush
christmas, bmx bandits, portrait of a lady, eyes wide shut, bangkok hilton, five mile creek,
bop girl, something stupid, the blue room, a country practice, chanel no.5, el corte ingles,
tom cruise, jude law, naomi watts, baz luhrman, sean penn, robbie williams, premieres, red
carpet, awards, oscars, golden globes, hollywood, celebrity, celebrities, actress, movies,
movie stars, icon, idol, films, filming, 2004, 2003, images, pictures, pics, gallery, photos,
candids, caps, screen captures, screen grabs, scans, exclusives, high quality images, hqs,
information, filmography, biography, music, charity work, quotes, fanmail, lyrics, news,
new, articles, interviews, speeches, tv, transcripts, reviews, press, reasons to love nicole
kidman, adopt a nicole, lookalikes, penpals, aim icons, avatars, MSN icons, live journal
icons, banners, mood icons, fanart, wallpapers, stationary, videos, audio, sound, award clips,
movie clips, movie trailers, music videos, interact, fun, contact address, agent, divorce, wife,
mother, style, designers, copy nicole kidman's make up, tips, hair, clothes, fashion, dresses,
outfits, nicole kidman children, scientology, fansite, updated, net, online, team, fans,
fansite, love">

<script language="JavaScript1.2">
var bookmarkurl="http://www.nkidman.com"
var bookmarktitle="Nicole's Magic - www.nkidman.com"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
</script>
<link rel="STYLESHEET" href="/layoutgfx/style.css" type="text/css">
</HEAD>

And that's not the only thing that needs correction, take the time to correct youre code. It would be a good thing for your nice website.
Logged

kateheaven

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 78
    • Kate Hudson Heaven
Re: Style won't change
« Reply #6 on: January 02, 2006, 08:19:12 pm »

i appreciate your reply Bacchus, but I wasn't asking for your opinion on my website. It looks fine to me and I've had no complaints that it looks messed up or anything so far. I'm not interested in learning the very latest version of xhtml or whatever it is. I just want to run a simple website.

Back to the original point, is the reason the colours I've specified for the scrollbar are not wokring because I have "multiple body declarations"?!
Logged

kateheaven

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 78
    • Kate Hudson Heaven
Re: Style won't change
« Reply #7 on: January 02, 2006, 08:27:36 pm »

nevermind, I found my answer thanks to bacchus in another post - http://forum.coppermine-gallery.net/index.php?topic=25817.0
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Style won't change
« Reply #8 on: January 03, 2006, 07:42:08 am »

you should solve the messed up theme nonetheless. Marking this thread as "solved"
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.