Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uploading paghe with css sheet

Status
Not open for further replies.

gerendula

Programmer
Apr 17, 2006
13
GB
hi
we created a site on mx and have now done a css page and attached it to pages in folder on pc
checked and code to import is there on pages

but when we upload to site on server

no dice

check source on pages and no code

cannot work out what is going on here

is this a mx thing --

ftp tool says it is uploading as usual

??????????

any help appreciated
this is doing my box


regards gerendula
 
Are you saying that the CSS file is not on your server?

Or that the pages on the server are not updated to use the css file?

Each html page must have a reference to the css file - e.g.
Code:
<link rel="stylesheet" type="text/css" href="./mysite.css">
and the css file must be in the location referenced.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
hi

the href link is on the pages concerned asnd the css is on the same directory on the server; but when I upload the html page it does not update the page on site although the ftp tool says it is?????????

cannot fathom this out at all

gerendula
 
Try clearing your browser's cache to make sure your browser is using the latest page.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top