I'm trying to get a style switcher going for my site(for the colour scheme)

I'd like to give my users the choice of changing the colour
scheme of my site (
http://chaoscoalition.net) at
will, through css style changing buttons such as the ones on the
forum's theme(
http://forum.chaoscoalition.net).
I've read many articles and tutorials on how to set up
alternate stylesheets for a webpage, but I can't quite get it
right. Every time I seem to have gotten it right, it either opens
the php file that sets the cookie, or it opens the stylesheet as
text. I want to end up with something like the forum's theme
changing module, but for the homepage.
I have 5 different versions of the page made, all as
different pages(php format), but I don't understand how to link the
buttons at the top to trigger the stylesheet change, and I don't
even knwo if it's possible to rely on a css file to change the
whole colour scheme of the page(which is image based).
It'd be great if someone could walk me through this, or offer
some tutorial that explains how to do this from scratch.
Thank you.

First, never use Fireworks or any graphics app to build HTML and CSS for you.  The resulting code is rigid, fragile and only good for quick comps or prototypes to show a client.  Use DW to generate actual site code.
Secondly, external stylesheets must not contain JavaScripts or X/HTML code as your green.css does.  Only CSS rules and comments are allowed inside external stylesheets - like so:
/**Green CSS**/
body {
     margin:0 auto;/**this centers page**/
     padding:0;
     width: 900px;
     font-family: arial, helvetica, sans-serif;
     color: white;
     background: green; /**this is green**/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/

Similar Messages

  • I bought a new iPhone 6 and switched carriers and am trying to get my voicemail and instant messages ported over to the new phone

    I bought a new iPhone 6 and switched carriers and am trying to get my voicemail and instant messages ported over to the new phone

    Restore from your backup.  For voicemail contact your cell phone provider.

  • I got a new Ipad 2 and I am trying to get it work in vain. I have downloaded the iTunes on my PC, but even after executing the program nothing happens to the IPAD. I still get the image of the USB cable and the iTunes logo. What am I doing wrong?

    I got a new Ipad 2 and I am trying to get it work in vain. I have downloaded the iTunes on my PC, but even after executing the program nothing happens to the IPAD. I still get the image of the USB cable and the iTunes logo. What am I doing wrong?

    You know that you have to connect the iPad to your PC with the cable that came with it -  and then iTunes should start automatically and it will guide you through the set up process?
    If you have already tried to connect the iPad - and you have launched iTunes - and you still have no luck - reboot your PC and then begin the process again.

  • How do I add my Applications fold back onto the dock? People say I must drag it near the trash can, but that just puts it past that barrier. I am trying to get it back to where it disappeared from, on the left hand side near the finder icon.

    How do I add my Applications fold back onto the dock? People say I must drag it near the trash can, but that just puts it past that barrier. I am trying to get it back to where it disappeared from, on the left hand side near the finder icon. And how / why did it disappear?

    With respect, you actually cannot store folders on the left side of the Dock - only on the right side. I wonder if you're talking about Launchpad, which looks like a silver rocket and shows you your installed applications? It's not actually a shortcut to the Applications folder, though. You can certainly drag Launchpad into the left side of the Dock from the Applications folder.
    Matt

  • I'm trying to get iTunes 10.5 but my computer told me 'the signature is invalid'

    I'm trying to get iTunes 10.5 but my computer told me 'the signature is invalid'
    How can I solve this?

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • Opera is trying to get my contact info and whenever I click on the link

    Slightly off topic but very concerning. Opera is trying to get my contact info and whenever I click on the link to this thread in my email, it pops up. This is the first time this ever happened. Oh yea, I don't have Opera installed on my computer. What the.......?

    take everything off line, any clone or backups incl TimeMachine and rebuild the launchd services for one thing.
    for another, and whether it is or isn't malware, is to have a clean system from day #1 you can restore or use.
    Or just follow the guides on how to setup and do a clean ML OS install. Download, burn to flash memory and setup ML on a drive. And put that system on a sparse disk image and put it somewhere, and so you can also use it to restore the system if ever needed.
    Using Cloning as a Backup Strategy
    http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
    http://www.bombich.com/software/updates/ccc-3.5.html
    OS X Lion Install to Different Drive
    How to create an OS X Lion installation disc MacFixIt
    Migration Assistant Update for Mac OS X Snow Leopard
    http://www.apple.com/support/lion/installrecovery/
    Create an OS X Lion Install disc
    http://reviews.cnet.com/8301-13727_7-20080989-263/how-to-create-an-os-x-lion-ins tallation-disc
    http://www.coolestguyplanettech.com/how-to-make-a-bootable-osx-10-8-mountain-lio n-disc-or-drive-from-the-downloaded-mountain-lion-app/
    It is pretty hard to get malware onto a Mac.

  • HT204291 Don't bother trying to get Airplay to work even if you have all the latest updates etc..if your computer is a MacBook Pro 2008 or earlier..The Apple staff have decided they are too old and not worth supporting...

    Don't bother trying to get Airplay to work even if you have all the latest updates etc..if your computer is a MacBook Pro 2008 or earlier..The Apple staff have decided they are too old and not worth supporting...

    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.
    Patrick is either mistaken or describing basic airplay and not mirroring.

  • My 3rd generation ipad even though my battery is at 100 % the screen goes black after sitting for more than 15 mins. The only way to get it to come is by resetting the ipad. Is there a fix for this. It all started after the last two updates.

    my 3rd generation ipad even though my battery is at 100 % the screen goes black after sitting for more than 15 mins. The only way to get it to come is by resetting the ipad. Is there a fix for this. It all started after the last two updates.

    Try a Reset...
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    If no joy... Try a Restore...
    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.
    From Here
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • I am trying to use old style figures in Page '14 I guess, the latest version. Do I need to use a specific font? Where should I look.

    I am trying to use old style figures for a school typology project. I can't find them. I think I might need a specific font, but I dont know what that would be.

    austinjschafer wrote:
    The gear was at the top left, not the bottom. Just for future help.
    Thanks!  I guess they were bored with having at the bottom for 10 years....
    You will probably find that the typography panel in Pages 5 is kind of broken, you need to close it and reopen for each new font, and I think small caps and various other things do not work yet.

  • Trying to get DSL internet. Verizon central office just down the Road less then 1 mile away.

    I am trying to get service to my home and its a bit frustrating when the county physical address does not match with any other maps to try and get service. (its not just you). My property has 2 addresses associated with it
    {edited for privacy}
    and {edited for privacy}
    There is a central office just down the Road with your logo on it (less then 1 mile when traveling on a Road with power/phone lines)
    My neighbors address is {edited for privacy} if that is easier to find
    Our property is on the intersection for {edited for privacy}
    The Central office is RONETXXA
    when i try to play around with the address trying to find one that is (somewhat close to my address to use as a reference point)
    What seems to be the case is so far i have found that i can get Phone service and direct TV through Verizon.
    Is this due to the distance the system thinks i am from the Central office or is it just that you do not provide Internet other then wireless even though there is a Central office and phone lines already set up in the area and to my 2 houses.
    Also last year we got all the way too getting a phone rep who told us that we would be getting a call from engineering to look into our problem...... that never happened.
    I would be most appreciative if you could please look into this.
    If there is any more information you need to better understand my situation please do let me know and i will do what i can to provide it.

    after the holidays i will again call customer support and hopefully i find them more equipped then the check for service plug in i also have access too and no way of dealing with difficult questions.
    Is there perhaps a more equipped customer support number that i can call to save me time/effort because my issue is not just a simple plug and check issue.
    As it seems again its
    A. the system is not showing my adress distance correctly
    B. the central office is not providing dsl internet even though the lines are already set up. (that kinda seems odd to me)

  • HT1727 I purchased an iPad.  I also have and existing iPhone.  I'm trying to get app purchases onto my iPad.  I downloaded the apps from iTunes to the iPad.  The apps are on my iPad but are faded with "waiting" below.  Nothing is happening.

    I purchased an iPad.  I also have an existing iPhone.  I'm trying to get my purchased apps from my phone to my pad.  I used iTunes and downloaded the apps to my iPad.  The apps icon is dim and the word "waiting" or something like that is below. It's like the screen is frozen now.  Help!!  I can get out of the screen and start over but it leads me to this same point.
    Thanks!!
    MagiciansNephew

    Welcome to the Apple community.
    Try tapping the app again to restart the download. Downloading from the iTunes Store has been a little problematic of late, but if you keep trying they do eventually download.

  • I have been trying to get a advent w10 wireless printer to print from the iPad ,have tried various apps with no success,

    I Am trying to connect a advent w10 wireless printer to work with the iPad ,tried various apps with no luck,,

    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • Old Ipod classic 160 gb wont get past battery charge screen has been sitting for months

    I have an old Ipod classic 160gb,that has been sitting for a long time so im sure the battery has no life in it at all,im charging it via usb cable and it wont get past the battery charge screen,how long would a completely dead battery take to move off the charge please wait screen untill you know its a deeper issue at hand if so how would you get it to start up pass the charging please wait screen?to see the true issue?
    Thanks for your help
    Ice

    Try to do a reset and see whether it can be solved
    http://support.apple.com/kb/HT1320?viewlocale=en_US&locale=en_US

  • Trying to get into a link thay you have to set the mouse on it (with the arrow) and it doesnt allow it,

    In every site that I go and try go into a link for example trying to buy someting when I go to the part of setting the day o amount (for example) there is an arrow that you have to use to set the thing but is not working is not allowing to set them, also I haver saved passwords and stuff like that in my bookmarks and when I go to the part to enter the login usually you put the first letter or number (if you have it saved) and it appers but right now is not working either, and is firefox, because all of these is ok in internet explorer. We need help I can buy thing on internet o login in my bookmarks than alredy have all the longings and passwords saves It have been 3 days with this problem

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • I get "Problem loading page" when I first sign on, while trying to get to secondary pages on all web sites. Problem almost completely goes away after 15 minutes or so.

    This is the error message: Server not found
    Firefox can't find the server at support.mozilla.com.
    * Check the address for typing errors such as
    ww.example.com instead of
    www.example.com
    * If you are unable to load any pages, check your computer's network
    connection.
    * If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    I can usually get to the main page of any site I choose on the first try. I get the error message when I try to go somewhere on that site. For example, I can open the Ebay home page, but I can't sign in. After multiple tries, I'll finally get signed in, but then I can't open any of the items. On AOL, I can open the home page, but I can't open my mail page. When I finally get the mail page opened, I can't open any mail.
    This problem also happens if I just use Internet Explorer, but not as bad as when I use Firefox.
    I did add an exception to my Windows firewall for Firefox, but it didn't help.
    I run Avast and Malwarebytes. I tried turning each of them off, and there was no change.
    I have a cable modem, and a wireless router.

    hello Mac.INXS, please [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & [[Delete cookies to remove the information websites have stored on your computer|cookies from mozilla.org]] and then try logging into AMO again.

Maybe you are looking for

  • C309a black ink won't print - just put in a brand new cartridge

    I have gone thru all instructions on how to make the ink print but nothing is working.  It is printing but it is so faint you cannot read it.  I went thru the set up and cleaned the print heads twice. I have reinstalled the print cartridge many times

  • How to copy files from another computer

    Hi, My daughter is logged into my server from her home. We ar trying to copy files using select all copy/ paste to my folder on the server. We have copied about 82 images all jpegs. but thy all say 0 bytes. What did we do wrong? Thanks Martin

  • TS2972 One of my computers is working but the other one isn't

    One of my computers is working but the other one isn't, so it isn't a network problem. I've restarted iTunes, logged out and logged back into home share and the library still isn't coming up. What's the problem and what should I do?

  • Normalization Assistance!

    I am a newbie to Oracle SQL Developer. I need help in finding out how to normalize data from excel spreadsheet and then to create an entity relationship diagram after that. I have seen how to import the excel file column's, but my question is do I ne

  • Acccess to HRMS via API's?

    I would like to access the HRMS via API's so that I have my own presentation layer. Question: 1. Is this possible 2. Where do I find the API ducumentation 3. Is the any example in either MS VB.Net or C# Thanks in advance. Regards