Results 1 to 2 of 2

Thread: Two CSS's active on one page

  1. #1
    Join Date
    Feb 2013
    Location
    California
    Posts
    53
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Two CSS's active on one page

    I have two CSSs that I need to have active on one page. The first is my primary CSS and the second is for a popup calendar. My problem is that in each I need to fix the height of the <tr>. One needs to be 23px and the other 15px. But, whichever one loads last sets the height for the other.

    Is there a way to limit which value gets assigned to the individual <tr> tags?

    TIA for your assistance.

    jdadwilson

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,970
    Thanks
    16
    Thanked 307 Times in 305 Posts
    Blog Entries
    11

    Default

    You would need to assign a class to each tr so you could target them individually in the CSS. Or use an inline style directly in the page markup. Here's a tutorial for using classes: http://www.tizag.com/cssT/class.php

    If you need more help, please post a link to your page and indicate which <tr> should have which height.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    jdadwilson (03-09-2013)

Similar Threads

  1. Horizontal Dropdown with active page
    By fanjava in forum JavaScript
    Replies: 0
    Last Post: 05-31-2012, 07:08 AM
  2. Style Sheet Switcher- 30 max Css's for IE?
    By phearfactor in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-29-2012, 07:49 PM
  3. Get get complete url of a page, including the active tab
    By veiga in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-14-2011, 06:54 PM
  4. Top Nav Bar III - how can i highlight active page?
    By vidigru in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 04-18-2005, 05:01 PM
  5. making a link active on page load
    By mcpalmer in forum JavaScript
    Replies: 3
    Last Post: 04-02-2005, 03:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •