Forums / Templates, Stylesheets, Page Layout / Conditional comments?

Conditional comments?

Locked

Started by jaggers on 12 Nov 2007, 2:38 AM · Views: 1,123

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Nov 2007, 2:38 AM
#1
jaggers avatar

jaggers

New Zenner

Join Date:
Oct 2007
Location:
DFW, TX
Posts:
20
Plugin Contributions:
0

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?

Current Project: http://kpdclothing.com

12 Nov 2007, 5:49 PM
#2
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Conditional comments?

CSS comment:

/* COMMENT GOES HERE */

PHP comment:

<?php /*?> COMMENT GOES HERE <?php */?>

CSS Evangelist

13 Nov 2007, 2:53 AM
#3
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

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.