| | #1 |
| iPod 20gb Join Date: Aug 2007
Posts: 506
Thanks: 192
Thanked 96 Times in 85 Posts
![]() | Uploading CSS files!?Hi, Does anyone know how to upload the CSS file properly for a website? I uploaded the css file and all of the image files used with it, but for some reason when i try loading the website from the web server, it wont load the webpage with the css properties Does anyone know how to fix this, i've been trying for hours now |
| Offline | |
| | #2 |
| Why so serious? Join Date: Jun 2007 Location: Leicester/Sheffield
Posts: 5,091
Thanks: 570
Thanked 1,382 Times in 1,284 Posts
![]() ![]() ![]() | Re: Uploading CSS files!?Is the css file in the right place? I think you have to refer to it like an image, so if your css file is in a folder then you have to have 'foldername/cssfile.css' in your html.
__________________ Spoiler |
| Offline | |
| The Following User Says Thank You to Praj07 For This Useful Post: | TEMPLE3188 (22-01-08) |
| | #3 |
| iPod 20gb Join Date: Sep 2007
Posts: 461
Thanks: 22
Thanked 108 Times in 58 Posts
![]() | Re: Uploading CSS files!?Code: <link rel="stylesheet" type="text/css" href="stylesheet.css" />
__________________ Free ipod touch guide Free macbook air Watch Family Guy Free Professional Website Usability & Search Engine Optimisation Expert |
| Offline | |
| The Following User Says Thank You to mwoody For This Useful Post: | TEMPLE3188 (22-01-08) |
| | #4 |
| iPod 20gb Join Date: Aug 2007
Posts: 506
Thanks: 192
Thanked 96 Times in 85 Posts
![]() | Re: Uploading CSS files!?Thanks for the reply praj. Well i just uploaded it to the server so far so that i could get it set up and running before organising it into folders etc. So i just uploaded it straight to the public_html folder. I've been checking if filenames etc are the same and they all seem to be perfect, the only other problem i have is that none of the images (seperate from the CSS) dont appear correctly but thats just a matter of changing the source, but i have looked through the CSS and everything seems to match It works perfectly in dreamweaver, but its only when i upload it to the server that it wont read the CSS |
| Offline | |
| | #5 |
| Why so serious? Join Date: Jun 2007 Location: Leicester/Sheffield
Posts: 5,091
Thanks: 570
Thanked 1,382 Times in 1,284 Posts
![]() ![]() ![]() | Re: Uploading CSS files!?Hmmm, I can't think of anything else wrong then, mind you I only have limited knoledge about this stuff.. Is your coding correct? Copy that line mwoody just posted to make sure you haven't made any typos.
__________________ Spoiler |
| Offline | |
| | #6 |
| iPod 20gb Join Date: Aug 2007
Posts: 506
Thanks: 192
Thanked 96 Times in 85 Posts
![]() | Re: Uploading CSS files!?Copied the line exactly and still nothing, it was already in my index.html file and i put it into the CSS as well, just to be sure, i copied and pasted mwoody's code and replaced where needed |
| Offline | |
| | #7 |
| Why so serious? Join Date: Jun 2007 Location: Leicester/Sheffield
Posts: 5,091
Thanks: 570
Thanked 1,382 Times in 1,284 Posts
![]() ![]() ![]() | Re: Uploading CSS files!?Hmmm sorry mate I'm all out of ideas! Good luck with your problem mate. Ask chigley to help you, he's really good with coding etc..
__________________ Spoiler |
| Offline | |
| | #8 | |
| iPod 20gb Join Date: Aug 2007
Posts: 506
Thanks: 192
Thanked 96 Times in 85 Posts
![]() | Re: Uploading CSS files!?Quote:
Thanks for help anyway guys, i was completely clueless before | |
| Offline | |
| | #9 |
| Why so serious? Join Date: Jun 2007 Location: Leicester/Sheffield
Posts: 5,091
Thanks: 570
Thanked 1,382 Times in 1,284 Posts
![]() ![]() ![]() | Re: Uploading CSS files!?haha lol glad you got it sorted!
__________________ Spoiler |
| Offline | |
| | #10 |
| PS3 | Re: Uploading CSS files!?i find dreamweaver a pain in the bum - code directly into notepad! its much more fun (and time-consuming) that way ..... w3schools is pretty darn helpful in case you ever get stuck
__________________ Beware the lollipop of mediocrity; lick it once and you'll suck forever. |
| Offline | |