|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Feb 2006
Location: MA
Posts: 43
|
Hi,
I ran into a CSS Stylesheet linking problem. On my Dreamweaver, I use the link of (LINK href="/www/include/style.css" REL=StyleSheet title="TxtLink" TYPE="text/css") and the change work fine. But, when update onto live production (online web) there wasn’t any change made on it. It just shows the default setting (black text, middle of the page alignment text, default font etc…). I then try another link (LINK rel="stylesheet" href="http://www.nameofwebsite.com/include/style.css" title="TxtLink" TYPE="text/css"), on my Dreamweaver the change doesn’t show but on the website some changes were made but not all. My concern is that… I don’t want to keep uploading the change every time to the web for me to be able to see the change. There has to be a way to resolve this issue, so that I can link my CSS style to the editing page and able to see the change on Dreamweaver and have the same result on the web. For me, it is really difficult to work on the page and I can’t see the change until I upload on the web for the CSS style to kick in and change. Anyone has any idea what I did wrong on my linking or a solution to a better way of fixing this? Note: I have to use the () because the forum does not support the <>. Nav_Functions |
|
|
|
|
|
#2 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Can you access your CSS file (style.css) from your browser? In other words, I'm asking whether it has been FTPed succesfully. In any case, try this: it could be a simple mis-linking problem
PHP Code:
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#3 | |
|
Member (6 bit)
Join Date: Feb 2006
Location: MA
Posts: 43
|
Thank for replying.
Quote:
PHP Code:
If I use this link: PHP Code:
Nav_ |
|
|
|
|
|
|
#4 |
|
Member (6 bit)
Join Date: Feb 2006
Location: MA
Posts: 43
|
On the side note of that, I am trying to link the css from an external page because I want to use this .css file to hook it up to the rest of my website. I don't want to copy&paste the css style into every pages internally.
|
|
|
|
|
|
#5 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Is your external CSS file located in this URL:
http://www.nameofwebsite.com/include/style.css In the directory "Include" as a file name "style.css"? kram |
|
|
|
|
|
#6 |
|
Member (6 bit)
Join Date: Feb 2006
Location: MA
Posts: 43
|
Yes, but that's not my 'true' link, just an example.
I can give you the right link, I can change the file name later for privacy control. http://www.nam-king.com/include/style.css |
|
|
|
|
|
#7 |
|
Member (6 bit)
Join Date: Feb 2006
Location: MA
Posts: 43
|
I found the reason now. My Dreamweaver didn't load the linking properly to my server so the css didn't get to load up. I had to copy&paste the code manually to correct the mistake.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|