| | Help? I've uploaded all of the html files and css files into the public_html folder , but the css isn't taking effect. I've checked both the css and te html files , nothing wrong with them. Halp me? www.genesis.trap17.com/home.html |
|
|
The directory 'style' doesn't appear to exist. Make sure you created the style directory inside the public_html directory, otherwise it is not publicly accessible.
After a bit more probing it appears that you didn't actually create the style directory you refer to in your HTML. Make that directory and move the two CSS files into it and it should then take effect. The directory 'style' doesn't appear to exist. Make sure you created the style directory inside the public_html directory, otherwise it is not publicly accessible. After a bit more probing it appears that you didn't actually create the style directory you refer to in your HTML. Make that directory and move the two CSS files into it and it should then take effect. Sorry to sound stupid but how would I do that? I'm a bit new to this =[
You can make that folder via FTP or cPanel File Manager. And to move the files, you just click it and select the folder you want to move it to
Make sure the folder name is ABSOLUTELY THE SAME as where it should be. I hope that helps
Do look the folder structure on your server through CPanel or FTP as pointed out by others. The site isn't displaying correctly on FF.
http://www.genesis.trap17.com/index.html works for me... Do the images work? I can't get them going on my Pc =/ CODE background: #FFFFFF url(main.png) repeat-y; That path, main.png, corresponds to the current directory - /public_html/style/. Of course, there is no file called main.png in that directory. Through a lucky guess I found that it was in a folder called images, which is inside the public_html directory. To represent this in your CSS, you need to use the sequence of characters that means "go to the previous directory". That sequence of characters is ../ So, to get from the styles directory to the images directory, we need to go up one level to the public_html directory, then into the images directory, then finally we can find main.png This means your code needs to actually say: CODE background: #FFFFFF url(../images/main.png) repeat-y; That needs to be changed for every path to an image in the CSS file colours.css. For your benefit, I've done that below. Just put the code below in your colours.css file instead of the code that is there at the moment: CODE body { background: #FFFFFF url(../images/back.png) repeat; color: #57696F; } blockquote { background: #FFFFFF; color: #57696F; border-color: #1798E9; } #main { background: #FFFFFF url(../images/main.png) repeat-y; color: #57696F; } #links, #footer { background: #1798E9 url(../images/linkfoot.png); color: #FFFFFF; border-color: #57696F; } #links a, #footer a, #links a:hover, #footer a:hover { background: transparent; color: #FFFFFF; } #logo { background: #FFFFFF url(../images/logo.jpg) no-repeat; color: #57696F; border-top-color: #57696F; border-bottom-color: #1798E9; } #logo h2 { background: transparent; color: #CCC; } h1 { background: transparent; color: #1798E9; border-color: #E1E1E1; } #menu { background: transparent; color: #57696F; } #menu li a { background: #76C9F8; color: #57696F; border-color: #109CEF; } #menu li a:hover, #menu li a#selected, #menu li a#selected:hover { background: #109CEF; color: #FFFFFF; } #content, #column2, #column2 a { background: #FFFFFF; color: #57696F; border-color: #57696F; } #column2 a:hover { background: #FFFFFF; color: #1798E9; border-color: #1798E9; } .sidebaritem { background: #F9F9F9; color: #57696F; border-color: #E1E1E1; } .sbilinks li a, .sidebaritem a { background: transparent url(../images/link_arrow.png) no-repeat left center; color: #57696F; } .sbilinks li a:hover, .sidebaritem a:hover { background: transparent url(../images/link_arrow_sel.png) no-repeat left center; color: #1798E9; } input, textarea { background: #FFFFFF; color: #57696F; border-color: #E1E1E1; }
This is again down to your directory structure. In your CSS, you have lines like this: CODE background: #FFFFFF url(main.png) repeat-y; That path, main.png, corresponds to the current directory - /public_html/style/. Of course, there is no file called main.png in that directory. Through a lucky guess I found that it was in a folder called images, which is inside the public_html directory. To represent this in your CSS, you need to use the sequence of characters that means "go to the previous directory". That sequence of characters is ../ So, to get from the styles directory to the images directory, we need to go up one level to the public_html directory, then into the images directory, then finally we can find main.png This means your code needs to actually say: CODE background: #FFFFFF url(../images/main.png) repeat-y; That needs to be changed for every path to an image in the CSS file colours.css. For your benefit, I've done that below. Just put the code below in your colours.css file instead of the code that is there at the moment: CODE body { background: #FFFFFF url(../images/back.png) repeat; color: #57696F; } blockquote { background: #FFFFFF; color: #57696F; border-color: #1798E9; } #main { background: #FFFFFF url(../images/main.png) repeat-y; color: #57696F; } #links, #footer { background: #1798E9 url(../images/linkfoot.png); color: #FFFFFF; border-color: #57696F; } #links a, #footer a, #links a:hover, #footer a:hover { background: transparent; color: #FFFFFF; } #logo { background: #FFFFFF url(../images/logo.jpg) no-repeat; color: #57696F; border-top-color: #57696F; border-bottom-color: #1798E9; } #logo h2 { background: transparent; color: #CCC; } h1 { background: transparent; color: #1798E9; border-color: #E1E1E1; } #menu { background: transparent; color: #57696F; } #menu li a { background: #76C9F8; color: #57696F; border-color: #109CEF; } #menu li a:hover, #menu li a#selected, #menu li a#selected:hover { background: #109CEF; color: #FFFFFF; } #content, #column2, #column2 a { background: #FFFFFF; color: #57696F; border-color: #57696F; } #column2 a:hover { background: #FFFFFF; color: #1798E9; border-color: #1798E9; } .sidebaritem { background: #F9F9F9; color: #57696F; border-color: #E1E1E1; } .sbilinks li a, .sidebaritem a { background: transparent url(../images/link_arrow.png) no-repeat left center; color: #57696F; } .sbilinks li a:hover, .sidebaritem a:hover { background: transparent url(../images/link_arrow_sel.png) no-repeat left center; color: #1798E9; } input, textarea { background: #FFFFFF; color: #57696F; border-color: #E1E1E1; } That still doesn't work. I replaced the old Css file but it still doesen't work =/ sorry if I'm sounding stupid
Recent Queries:-
Keywords : css, problem, website, ive, uploaded, html, css, files, css, isnt, working,
(3) well i'm getting an error message(a databass connection warning) for all of the parts of my site (7) Ok, I finally got my form approved after that massive wait because of some issue and now, my (2) Alright, the Gallery module from Fantastico always used to work for my site. Now it's suddenly Confusing issue. (5) I am a hosted member in trap17 and my domain is www.karunya.cc . I have been not able to access my (5) I am trying to backup my files on my account(in preparation for the next server disaster), and I am (2) When I goto upload files using the file manager(legacy mode), the files do not upload correctly. (7) I am looking at different solutions for paid hosting and I know that that trap17 has some connection (13) ok.. so i have a thing to look exesevely at my website.. & the hell.. like 4 times already a random (9) Ok, so I'm having a problem with my website and several hours of scouring Google has done me no (18) Is it just me or is my website taking a very long time to load? http://www.princesstimes.com It (3) It seems I can't start a new thread. I started a thread named: Best Websites With the message: (3) I didn't know where to post this..... this category seemed about as good a fit as there was. on This is a question about PHP... (5) (If I am posting this in the wrong forum, please tell me the correct place to be putting it.) I As in, which directory? (1) I recently got approved for hosting. I have an account right now, but I don't know which (4) I was just randomly accessing the cPanel today and when I tried accessing the 'CGI Centre' imbibe.in (3) I have a addon domain in my account (ramansingla.info): imbibe.in All subdomains on imbibe.in work (4) My account went below 0 credit and so, my account got suspended, however, I posted on the forum and ramansingla.info (4) Hi, My website is down. Domain: ramansingla.info I am certain that it's a problem from your (1) Ahh is this happening to anyone else? my site have-heart.net is down again.. but yea.. i checked (31) This happened yesterday, and now today. I can't connect to my website. The URL is: (17) In my CPanel, the bandwidth counter is constantly at 0, it never changes. I can never see how much (15) I use a single php file for all my tag decorations and image calling so that each page is lighter I dont know why but it doesnt link. (7) See, my toolbar is made up of 8 buttons. They are: Home | Lessons | Theory | Links Videos| Extras (3) Would it be allowed to have an upload script to transfer text files (homework) from laptop to (12) Hey.I have made a simple website http://pakdir.com this is in html.But its very difficult to My email configuration isn't working (7) Does anyone have a clue as to why my outgoing email isn't working with Outlook express? I can (2) I tried to change the html for my site in file manager but it just has the default page - the one Where You Put HTML Code For Your Users (4) Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they FTP uploaded images don't display (8) Hey Guys, PROBLEM: Uploaded website & all images display as blank white box with red X on the Looking for css, problem, website, ive, uploaded, html, css, files, css, isnt, working,
|
![]() Css Problem On Website - I've uploaded the html/css files but the css isn't working/ |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|