Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

View CSS in Dreamweaver Issue

I finished up the php project with Randy Hoyt, and I have now moved on to css. In the php project, we created a config file that included the BASE_URL and ROOT_PATH of our site so that we could clean the URLs by moving them into folders while still referencing the correct paths on our testing vs. final sites.

My question is: Since we changed all of our references to include the base or root url variables, Dreamweaver no longer recognizes my css sheet on the production side. Until I publish the site, I cannot see the effect of changes to my css, which is time consuming. Do you, Randy, or anyone else, have a method to keep the url reference variables, but still view the css changes in Dreamweaver without publishing the site?

2 Answers

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

It's been a while since I've used Dreamweaver, but I'm almost certain you can specify a local and a remote web address for the site that you can use for Preview. You can view the site at [http://localhost/] in a browser, right?

I see what you're saying. I don't know why I didn't think of that. Thanks Randy.

Also, you're videos are by far the best I've watched so far. Thanks for doing this.