Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Okay, I\'m trying to work with CSS on Dreamweaver, and I\'ve been watching these

ID: 3622688 • Letter: O

Question

Okay, I'm trying to work with CSS on Dreamweaver, and I've been watching these tutorials. The guy shows me that I can make a styles.css, or whatever name, as long as it has .css after. He shows me how to combine it to my basic tab. I did so, but when he showed me how to correlate the color code on to something as simple as 'Sample HTML Document' the color would not change. I was wondering, if in this case, could it be that I'm using Mac and that he is not? I also want to know if that does or doesn't matter, what the problem could be?! Please and thank you ahead of time. By the way, I'm working with Mac, and I believe the guy showing the tutorial was using Windows. Thanks.

Explanation / Answer

If I understand your problem correctly, you were trying to correlate a stylesheet with an xhtml document, and have style changes to synchronize automatically across both files. Meaning, if you change the style of an element in the xhtml document's design view, it will automatically be updated in the css file. Also similarly, any explicit changes you make to the styles in the css files will also get updated automatically in the xhtml document. It seems more likely to me that this is a linkage issue rather than a platform specific problem. It could be that your Sample HTML Document is not linking the stylesheet. You can check for linkage by going to Code view and see if there's a tag underneath the tag. Similar to this: If it's not there then you can similar add it, replacing "style.css" with the name of your actual css file. One sure way to get proper css linkage is using the New CSS Rule window and specify the Rule Definition to be (New Style Sheet File). In CS4 you can access this window from the Properties Panel and toggle the CSS button on the left. Hope this help. Let me know if you need more clarifications.
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote