Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Advanced CSS Style Switcher
Change the entire look of your site with one clickhttp://www.sitereboot.com/read_tutorial/6/
Total Hits: 3360
Total Votes: 36 votes
Average Rating: 2.5 out of 5
Category: CSS/Advanced
Description:
Since we all know just how popular css design has become.I thought i would release this tutorial on how to do something new.
With this small script, you or your visitors will be able to completely change the look of your site with one click.
This does use strictly css, as well as some javascript.
So lets Begin…….
First, lets set up the basics to get you organized, and insure this will work properly.
Create a new folder on your hard drive.
Within that folder create two new folders.
Name one, “images” and the second one “style2″.
This will let you store both images for each layout in seperate folders so things do not get messed up.
Create your sites design using css, the blocks, layout and so forth.
Lets call this “Style.css”.
Remember that you can also include images in the layout as well.
Then once you have completed that, copy it and rename it to “Style2.css”.
Now what we will do is add the following code into the main page of your site.
In the index.php, or html file itself.
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |




16.67%

16.67%

16.67%

16.67%

16.67%