Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > HTML / XHTML
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 03-31-2012, 08:57 PM
  #1
jjtech
Novice (Level 1)
 
Join Date: Mar 2012
Posts: 1
iTrader: (0)
jjtech is an unknown quantity at this point
Moving files (html and css) to another folder creates problems

Hi,
I'm a beginner, so I realize that my question will be silly - sorry for that. I'm just doing a tutorial on html/css. I created a simple website, with stylesheet and image. Everthing was hunky dory as long as files were sitting on the desktop. When I moved them to appropriate folders (I created "html", "css" and "img" folders on desktop), changed the paths from /style.css to css/style.css and from imgname.jpg to img/imgname.jpg, the site completely ignores styles and image. Then once I move it back to the desktop it stats reading it correctly. It's weird for me and I can't find the reason. I checked all paths million times and there is no error there. Whole operation should be super obvious, yet I can't resolve it.

I'd appreciate your help.

Thank you in advance,
JJ
jjtech is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 04-01-2012, 01:23 AM
  #2
lion
Super Guru
 
Join Date: Apr 2005
Posts: 1,865
iTrader: (0)
lion is just really nicelion is just really nicelion is just really nicelion is just really nicelion is just really nice
Hey jjtech,

If you created an html folder, css folder, and img folder on your desktop, and placed your HTML files inside "html", your paths should be "../img/img.jpg" and "../css/style.css". The two dots indicate that the files are a directory "back", or "up".
lion is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Reply
KEEP TABS
SPONSORS
 
Boxedart

 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 05:03 AM.

   

Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.