Copyright © 2005-2008 Andrea Tincani

AndreaPHP | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Problemm with CSS) New Topic New Poll Post Reply
AndreaPHP Forum : Design, Style, CSS and Graphics : Problem with CSS file
Poster Message
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Problem with CSS file

I tried applying a Style Sheet on my document, everything work well from my localhost. But when I place the site on Lycos so that other people can help me with the disign, the style were no longuer applied to the document. This was my header :
<head>
  <link rel="stylesheet" type="text/css" href="CSS/Common.css">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>Lands Of Times</title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="author" content="Daniel Berthiaume">
  <meta name="generator" content="WebExpert 6, Text Editor, Php Designer 2005">
  <meta name="expires" content="Tue, 1 Aug 2000 00:00:00 GMT">
</head>


It order for the Style sheet to work, I had to copy the entire content into each HTML file. (Which is not fun to work with).

Is there something wrong with this line ?
<link rel="stylesheet" type="text/css" href="CSS/Common.css">


Daniel B.

____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

18-04-2005 at 04:36 AM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
admin
Level: Administrator


Registered: 04-04-2002
Posts: 35

icon Re: Problem with CSS file

you can try this:

1) try to call the css directly from your browser to see if Lycos returns it correctly

2) verify that you point to it using the exact path and name il upper/lower case, since thay can make difference in Unix systems

3) If you are pointing to it from a different directory try to full reference the path from your site root like this (using leading slash)


href="/CSS/Common.css"



hope this helps...

PS. this could be the first resolved topic of the entire forum!!

    

____________________________
AndreaVB

18-04-2005 at 06:07 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Re: Problem with CSS file

Oups..... Your 100% right.... I was sure my syntax was OK, but I've wrote : Common.css insteed of common.css.

Thank You!

(First fully resolve subject!!)

____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

18-04-2005 at 02:34 PM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
AndreaPHP Forum : Design, Style, CSS and Graphics : Problem with CSS file
Previous Topic (Problemm with CSS) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: AndreaVB

Copyright © 2005-2008 Andrea Tincani

Powered by: tForum tForum Edition b0.92p1
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team.