Results 1 to 3 of 3
  1. #1

    Css/xhtml question

    hi

    What mean such code

    Code:
     <body class="html not-front not-logged-in page-node page-node- page-node-617 node-type-site-page context-addictive-diseases">
    As i understand, it mean, the "Body" accept all rules of this classes. The problem is, that sometimes i cann't find some of this classes in css files.

    And the 2-nd quesion:

    What is the difference between # and .

    example
    Code:
    .cboxOverlay{}
    #cboxOverlay{}
    thank you
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  2. #2
    Join Date
    Feb 2012
    Location
    Castle Discordia
    Posts
    231
    1st question:
    That's just the cms calling the correct class to display the page.

    2nd question:
    .cboxOverlay {} indicates a div class, meaning it can be used more than once on a page.
    #cboxOverlay {} indicates a div id, meaning it can only be used once on a page.

  3. #3

    CSS classes

    Quote Originally Posted by 3-rx View Post
    hi

    What mean such code

    Code:
     <body class="html not-front not-logged-in page-node page-node- page-node-617 node-type-site-page context-addictive-diseases">
    As i understand, it mean, the "Body" accept all rules of this classes. The problem is, that sometimes i cann't find some of this classes in css files.
    The "html not-front not-logged-in page-node page-node- page-node-617 node-type-site-page context-addictive-diseases" is a list of classes called.

    Example: html, not-front, not-logged-in, etc etc are each individual classes. So try and search you css file for them individually.

Similar Threads

  1. Looking for XHTML/CSS coder to do PSD to XHTML/CSS conversions
    By Kauzlaric in forum Employment / Job Offers
    Replies: 8
    Last Post: 09-28-2008, 01:59 AM
  2. CSS / XHTML question
    By dhui in forum Web Design and Content
    Replies: 4
    Last Post: 07-23-2008, 03:44 PM
  3. Replies: 7
    Last Post: 12-11-2007, 03:42 PM
  4. Xhtml/Css Unordered Lists question
    By Paul-M in forum Web Design and Content
    Replies: 3
    Last Post: 11-22-2007, 08:39 AM

Posting Permissions

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