8 replies [Last post]
Anonymous
Anonymous's picture
Guru
calgary,alberta
calgary,alberta

Can anybody help me - www.buycondor.com has links to a css style sheet file and the server, IIS 5.0 does not seem to load the file correctly. THe css file is located at www.buycondor.com/style/main.css and when you type this in, you get a totally different css file (you get one, just not the one that I see when browsing the server locally).... it sounds like a server caching issue so I restarted, reset services, etc... to no avail. I am now thinking it is my syntax? Any help would be really appreciated!

Anonymous
Anonymous's picture
Guru

PS...

I've tried linking the file in several ways.. all to no avail...

http://www.buycondor.com/style/main.css
style/main.css
/style/main.css

it always points to a main.css file that is not even related to the one I have been uploading and working with... really strange -

win2k, IIS 5.0, coldfusion Tongue

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 8 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

Help - my CSS ref link doesn't seem to work

What is the name of the file you get when you type in the path ?

When I typed in http://www.buycondor.com/style/main.css I got the main.css file. It has three style declarations in it. Is that the same style sheet ? Have you double checked you have put the required style sheet in the right folder ?

http//melbourne.ug.php.net

Anonymous
Anonymous's picture
Guru

bizzare...

paCkeTroUTer wrote:
What is the name of the file you get when you type in the path ?

When I typed in http://www.buycondor.com/style/main.css I got the main.css file. It has three style declarations in it. Is that the same style sheet ? Have you double checked you have put the required style sheet in the right folder ?

Yea, that's the thing... it's bizzare that it gets that file - since I NEVER created one like that! Ahhhh. here is the content of my "real" main.css file:



A {
    COLOR: #000000; TEXT-DECORATION: underline
}
A:hover {
    COLOR: #005AFF; TEXT-DECORATION: underline
}
.navanchor {
    COLOR: #666666; TEXT-DECORATION: none
}
.navanchor:hover {
    COLOR: #cc0000; TEXT-DECORATION: underline
}
.gofont {
    FONT-WEIGHT: bold; FONT-SIZE: 7pt; FONT-FAMILY: verdana
}
.displayfont {
    FONT-WEIGHT: bold; FONT-SIZE: 7pt; FONT-FAMILY: verdana
}
.detailCaption{
    FONT-WEIGHT: bold; FONT-SIZE: 7pt; FONT-FAMILY: verdana; COLOR:#FFFFFF
}
.detailComment{
    FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: verdana; COLOR:#FF0000
}
.detailTitle {
    FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: verdana
}
.detailItemTitle {
    FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-FAMILY: verdana
}
.phonefont {
    FONT-WEIGHT: normal; FONT-SIZE: 10pt; FONT-FAMILY: verdana
}
.productTitle {
    FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: verdana; TEXT-DECORATION: underline
}
.datefont {
    FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana
}
.navigation {
    FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana
}
.printfont{
    FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: verdana
}
.smalltextbox {
    BORDER-RIGHT: #000000 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: verdana; border-upper: 1px solid #000000
}
BODY {
    SCROLLBAR-FACE-COLOR: #325FAC; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #666666; SCROLLBAR-3DLIGHT-COLOR: #999999; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #4A97FF; SCROLLBAR-DARKSHADOW-COLOR: #666666; SCROLLBAR-BASE-COLOR: #666666
}

Stranger still - I uploaded a copy of this css file to buycondor.css in the same dir and I can't seem to even access it Tongue

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Help - my CSS ref link doesn't seem to work

Hi buycondor,
On Linux servers you need to use the correct case M and m are different.
Try http://www.buycondor.com/style/Main.css

Hope that helps

Anonymous
Anonymous's picture
Guru

Help - my CSS ref link doesn't seem to work

Tony wrote:
Hi buycondor,
On Linux servers you need to use the correct case M and m are different.
Try http://www.buycondor.com/style/Main.css

Hope that helps

Thanks for the tip, but it is IIS (that would be funny if IIS ran on linux)... and the case is lower "m". Any other suggestions anyone?

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 8 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

Help - my CSS ref link doesn't seem to work

Have you set appropriate permissions(I_<machine name>USER) for the styles folder ?

http//melbourne.ug.php.net

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

case

I must have over looked the server and I think you over looked the point I was trying to make.

Clicking on the link I provided displays the correct or at least a completely different stylesheet from the one with a lower case 'm' that looks remarkably like the stylesheet your after.

Big M (should be correct).
little m (wrong one).

Hope that helps

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Help - my CSS ref link doesn't seem to work

Looks like you have fixed the problem both links now take you to the same document.
Smile