Copy link to clipboard
Copied
Is that how it is supposed to be?
I have not done Dreamweaver in a while and I am starting back up. I have remembered just enough to get into trouble. The most serious problem I have is when has to do with my css sheet. It doesn't effect the page unless I put all the information from my css onto my html page. For every page everytime. I don't remember that but I can't remember what I did before. Help!
1. Is your local site folder defined in DW?
2. Does your external CSS file reside in your local site folder?
3. Did you attach the style sheet to your HTML document's <head> tag? Go to Tools > CSS > Attach Style Sheet (see screenshot).
4. Save document (Ctrl/Cmd + S). And Preview in REAL browsers.
Failing that, you probably have errors in your HTML or CSS code which need attention.
Use the online validation services below to check your code for errors.
HTML: https://validator.w3.org/
CSS
...Copy link to clipboard
Copied
What you are saying is not making a lot of sense. The CSS has to be on your page, but it can be in the html file itself, or included via a separate stylesheet. Can you share a link to the page in question so we can better provide you with guidance to resolve your styling issue?
Copy link to clipboard
Copied
Sorry, I'm kind of brain dead after strugeling for two days with this. What I was trying to say is that even with the style sheet being used I still have to add all the instructions onto the html page. That doesn't make sense to me.
Copy link to clipboard
Copied
Back to my previous post, can we see the page to help see what is going on? If the CSS stylesheet is being included it should be picked up by the document unless there are errors in the code. If you are unable to share your code, you can try to run your page through the validators to fix the code yourself: https://validator.w3.org ; or you can use the inspector in your browser to view what rules are being picked up because you may also be in a situation where rules are overwriting another as they follow the order in which they are included on the page.
Copy link to clipboard
Copied
1. Is your local site folder defined in DW?
2. Does your external CSS file reside in your local site folder?
3. Did you attach the style sheet to your HTML document's <head> tag? Go to Tools > CSS > Attach Style Sheet (see screenshot).
4. Save document (Ctrl/Cmd + S). And Preview in REAL browsers.
Failing that, you probably have errors in your HTML or CSS code which need attention.
Use the online validation services below to check your code for errors.
HTML: https://validator.w3.org/
CSS: https://jigsaw.w3.org/css-validator/
Hope that helps.
Copy link to clipboard
Copied
That seems to have done it, Nancy! The issue was I had no recolection of deliberately attacheing the style sheet to the html. I had put them in the same place and thought that was that. Thank you so much for your help!
Copy link to clipboard
Copied
You're welcome. Glad you got it sorted. 🙂