Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Location
    DFW, TX
    Posts
    21
    Plugin Contributions
    0

    Default Conditional comments?

    Is there a way to tell the client-side browser what to see using conditional comments in the CSS only?

    If not, then how do you use conditional comments in PHP?

  2. #2
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Conditional comments?

    CSS comment:

    /* COMMENT GOES HERE */

    PHP comment:

    <?php /*?> COMMENT GOES HERE <?php */?>
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  3. #3
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Conditional comments?

    If you are asking how to modify the CSS so it's different for different browsers (cough.IE.cough...) look at the css overrides contrib in the downloads section.

 

 

Similar Threads

  1. Conditional Options?
    By gabstero in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 20 Jun 2014, 05:47 PM
  2. Conditional dropdowns
    By cslinux in forum General Questions
    Replies: 12
    Last Post: 31 Aug 2010, 10:29 PM
  3. HowTo include an IE Conditional Comments stylesheet
    By joelfarris in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Jun 2007, 02:33 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR