Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

writing website in ubuntu


  • Please log in to reply
1 reply to this topic

#1 k-Kariya

k-Kariya

  • Members
  • 28 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:45 AM

Posted 29 August 2010 - 06:31 PM

Im trying to create a website for a friend and because of issues with Windows I had to move all of my files to my linux partition in order to finish. The only problem I have now is that I can't implement the CSS on the page. I think it has something to do with how im writting the directory:

<link rel="stylesheet" type="text/css" href="home/Documents/prog/ n/ scripts/Designs/ in/ Time/frankincense/style.css" />

I've never done this in Ubuntu before so I'm not sure how it's supposed to be written. I tried looking for examples on Google but to no avail. Does anyone know where I could get examples on how to write this?

BC AdBot (Login to Remove)

 


#2 NpaMA

NpaMA

  • Members
  • 635 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Memphis, TN
  • Local time:02:45 PM

Posted 30 August 2010 - 02:02 AM

If you're building a website, why use the "full" path? Instead just stick style.css in the same folder as the html file(s), and call it like:

<link rel="stylesheet" type="text/css" href="style.css" />




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users