Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Click button to access css file

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #37191
    charisma
    Member

    I’m rebuilding a website for the vision impaired. At one point there was three folders with a css file in each. to control Background colors and font colors. Every time I do an up date to the site. I would have to copy it into two other folders beside the default folder. I have three page style buttons on the website. I would like to be able to connect the three buttons to the three css files. Can this be done, and can someone help me. F.Y.I. I did not build this site. I just took it over.

    Here is my HTML code for the buttons:

    Page Style

    • Page style button1
    • Page style button2
    • Page style button3

    #99267
    charisma
    Member

    Where do I place these two codes?

    #99286
    charisma
    Member

    This is the first page:
    I have one of the css file connected to it for the first style at this time.

    
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">






    Welcome to The Access Advisory Committee - Winnipeg, Manitoba, Canada




    jump to main content










    surefoot logo CliCK HERE FOR SIDEWALK CONDITIONS





    Access Advisory Committee


    Our goal is to provide
    opportunities to further investigate information on access issues for people with disabilities. />    
    Universal access to information, services and public properties is a priority of the
    City of Winnipeg.  The Access Advisory Committee assists the city in striving towards the goal of
    accommodating all of its citizens.







     










    #99290
    charisma
    Member

    Would you like me to send you a copy of the css file i’m useing for the first style?

    #99291
    charisma
    Member

    I got it working now :) Thanks so much. I’ll load it somewhere you can look at it and see if you see any errors.

    #99316
    charisma
    Member

    Question for you. When I change color of page style to lets say white text on black background, it works great. But when I click on any link accross the top. it defaults back to the first page stlye. why is that. here is a link.

    http://www.cjwebconsulting.com/New/index.html

    #99327
    charisma
    Member

    Ok this jsfiddle is new to me. lol do i have to extract code from here and add it to mine?

    #99346
    charisma
    Member

    When you say style sheet, your referring to. jquery.min.js ?

    #99349
    charisma
    Member

    Thank you.

    #99351
    charisma
    Member

    When you say replace with all the code in the JavaScript panel. Your referringj to the JSfiddele panel. correct?

    #99355
    charisma
    Member

    I made the changes to just the first two links, Home and Mandate. The second style is not working and the left side of the page does not change colour styles. What am i doing wrong :(

    http://www.cjwebconsulting.com/latest%20New%202/index.html

    #99360
    charisma
    Member

    For got to add link. Sorry about that.

    http://www.cjwebconsulting.com/latest%20New%202/index.html

    #99405
    charisma
    Member

    This site is getting very frustrating and thanks for your patients Hompimpa. I’m just working with the first two tabs Home and Mandate. I’m not worried about the others at this point. I see as of now when i change tabs the colours to not default and thats good. How ever I noticed that the middle contrast button? the colors for text and headers are wrong. I went into the inv.css file and there is nothing wrong there. The first link is what i have and the second is what it should look like.

    http://www.cjwebconsulting.com/latest%20New%202/index.html

    http://www.aacwinnipeg.mb.ca/inv/inv.html

    #99414
    charisma
    Member

    That worked perfect, thanks. now i have to fix the rest of the HTML pages.

    #99436
    charisma
    Member

    Do I need to add this code in my other two css files?

Viewing 15 posts - 1 through 15 (of 23 total)
  • The forum ‘CSS’ is closed to new topics and replies.