artie1 Posted August 30, 2009 Report Posted August 30, 2009 I am just learning web design. I have made changes to the css on a site stored on my computer so I know how to view the code with my browser. Now my question is, how do I go about seeing what the new site looks like? How do I open it to see it as it would look online? Is there a different file I open up with my browser? Any help would be appreciated! Thanks, Artie Quote
virtual Posted August 30, 2009 Report Posted August 30, 2009 You should have an html file which links to the css file, both should be in a folder on your hard drive, probably named index.html or home.html. To view the changes you have made you just double click on the html file to open it in your default browser. I suggest that before you make any changes whatsoever you make a copy of each file so that you can always revert back to them if you mess up. Also view each change in the browser as you make it, not after you have made several changes or you will not understand properly which change has the desired effect. Quote
artie1 Posted August 30, 2009 Author Report Posted August 30, 2009 Thanks for the reply. I don't see an index or html file- only CSS and php (this is a Wordpress site created in Artisteer software program. Is there any other way of viewing it? Quote
Andrea Posted August 30, 2009 Report Posted August 30, 2009 Do you have a file called index.php? Open that in your browser. Quote
artie1 Posted September 2, 2009 Author Report Posted September 2, 2009 Thelma- I have tried that- my browser won't open any of the php files... Quote
webmachine Posted September 2, 2009 Report Posted September 2, 2009 Don't you need a server like Apache installed on your computer through which you view .php files? I had to do that when I made my first Wordpress theme ... either that (http://localhost/index.php) or actually upload the files and view them live? Quote
falkencreative Posted September 2, 2009 Report Posted September 2, 2009 Webmachine is right -- you'll need to install a web server on your computer in order to view .PHP files. This topic has instructions for getting set up: http://www.killersites.com/forums/topic/37/setting-up-a-server-for-php-on-your-local-computer/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.