Jump to content

Not linking to CSS External Stylesheet


NuCoder

Recommended Posts

Good evening KS,

My home page links to my styles.css with no problem. I opened a new external stylesheet to link another page - however - it is not linking? (i.e about page - I copied and pasted my Home page xhtml to tweak the elements to fit the about page and linked to about.css). However the page shows in html format only and the about.css is not linked? Just as a test - I copied and pasted my HTML into another HTML page and linked to my styles.css - same thing occured - it did not link and it only showed in HTML view (?) Where did I go wrong?

 

thank you in advance

Brian

 

 

 

 

 

 

Anclote Harbors Marina - About
Link to comment
Share on other sites

You didn't mention that you actually created an about.css page. Did you forget to save or upload it?

 

And while there may likely be more to your story, based on what you wrote, I wonder if you're creating a different stylesheet for each of your pages? If so - you're missing out on the benefit of a global stylesheet.

Link to comment
Share on other sites

Thanks Ben & Andrea.

 

Off to look in my books and back on Lynda.com. I only have my desktop items in my files to the lower right of DW panel.

 

I was testing to see what would happen if I changed a new style sheet to match the page (About page) - and still nothing...

 

thanks again

Brian

Link to comment
Share on other sites

huh, I copied and pasted my home page xhtml file (to tweak the elements to fit the About page) and it linked to my styles.css, so it worked. Just do not know why it would not do it last night (too many hours in front of the computer??) :D

Edited by NuCoder
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...