PDA

View Full Version : Dreamweaver thinks my print_styles.css is HTML


jrasicmark
05-09-2012, 09:37 PM
I am stumped on the Dreamweaver CS5 Classroom in a Book (Page 127). It had me create a CSS print style based on the site's original CSS, but whenever I get to the "Attache External Style Sheet" dialogue box, I always get an error message saying it won't work because it's an HTML document, not CSS. But I was very carefule to select "CSS" when I saved it and it has .css at the end of the file name. Does anyone know what the problem is?

edbr
05-10-2012, 02:08 AM
can you post the code for the css file

jrasicmark
05-10-2012, 01:21 PM
Thank you for your response! Your question made me realize what the problem was! I checked the top of my duplicate "CSS" file and realized I had mistakenly duplicated the HTML code for the lesson's web page rather than the page's external CSS file. I'm not sure how that happened, or why I didn't think to check that before, but thanks for your help. I guess I just needed a nudge in the right direction!