Results 1 to 3 of 3

Hybrid View

  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
    877
    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. Please recommend software that handles conditional attributes
    By Freebird in forum General Questions
    Replies: 12
    Last Post: 7 Nov 2007, 03:43 PM
  2. 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
  3. Can customer add comments to the order too?
    By styledata in forum Managing Customers and Orders
    Replies: 4
    Last Post: 27 Jun 2006, 04:55 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
  •