Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.
I would like to know how to test CSS offline in a working copy of a webpage.
2011-07-10 00:13:00
If it's a static homepage (html) you can open the site with the linked CSS right in your favorite browser. For pages with PHP you will have to run a local webserver with PHP enabled (same goes for other server sided scripts).There are several ways to setup a local server but for testing purposes I think the easiest will be to get an ready-to-use server package. You can get an entire list of the
AMP
stacks at Wikihttp://en.wikipedia.org/wiki/AMP_(solution_stack)
2011-07-10 09:07:00
Mike i have done so and no changes to the css sheet work. if i comment out the link reference to the css sheet, then the formatting of the page changes. for example, if i specify a color with a selector, the requested color doesnt appear. i put the whole website online yesterday the color scheme didnt appear as anything but white even though i specified black for the background.... thanks
2011-07-11 08:03:00
CSSEdit for the mac allows you to edit CSS on live webpages and preview the differences, then save and replace the live CSS. On windows, no ideas I'm afraid/