Can someone please help me out. I know there are quite a few of you out there who know a bit of coding, so please help.
I'm basically having trouble when it comes to CSS and embedding it into the html file.
I am currently using...
<style type="text/css" media="all">@import "css/master.css";</style>
I have not tried this...
<link rel="stylesheet" type="text/css" href="master.css"/>
As far as i understand, both are acceptable. For my main page, the html file is able to find the "master.css" file. That is fine. But as soon i make a new page eg www.eric.com/newpage, the directory of "css/master.css" is obvioulsy no longer there - which basically goes the same for all images etc.
Am i missing something here? there must be another way - apart from adding a "css" and "image" directory to every new page. I thought the point of css was to be able to only edit and load up one page and change the whole site.
I'm certain im missing something here - and i believe it has something to do with renaming the directory in which the file needs to be found in
<style type="text/css" media="all">@import "css/master.css";</style>
so, editing the red bit. im so stressed. someone please clarify.
self teaching web design is hard!@~
thanks
/rant.
Comment