Any idea what the syntax would be to change the properties of a class
with JS?

-----Original Message-----
From: Steve Onnis [mailto:[EMAIL PROTECTED] 
Sent: Monday, 4 August 2003 3:41 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] CSS


ok

here you go

What does CSS mean?

Cascading Style Sheet.

This

you include you style code at the top of the page

<style>
.printMedia, .cfdebug, .cfdebuglge {
        display: none !important;
}
</style>

Along comes mr CFDEBUG with its own styles for the same objects, hence
the
style sheet is cascading and will overwrite your previous class
declarations.

Unless you can get somehow your style code to go under the debug
information, then your not going to be able to do it.

The only otherway is to set the style using javascript with some either
onload function or a function tied into the function that triggers the
print
action

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur
Sent: Monday, August 04, 2003 3:30 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] CSS



I'm calling the stylesheet like so
<link href="#request.webroot#/style/print.css" media="print"
rel="stylesheet" hreflang="en">

And it works on all other objects that have class "printMedia"


-----Original Message-----
From: Mark Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, 4 August 2003 3:19 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] CSS


Really need to see your code. CF *might* be overriding it. One last try:

.printMedia, .cfdebug, .cfdebuglge {
        display: none !important;
}

How are you calling your print stylesheet?

Cheers

Mark


______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com

---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

------------------------------------------------------------------------
----
This email, together with any attachments, is intended for the named
recipient(s) only and may contain privileged and confidential
information.
If
received in error, please inform the sender as quickly as possible and
delete
this email and any copies from your computer system network.

If not an intended recipient of this email, you must not copy,
distribute or
rely upon it and any form of disclosure, modification, distribution
and/or
publication of this email is prohibited.

Unless stated otherwise, this email represents only the views of the
sender
and
not the views of the Queensland Government.
------------------------------------------------------------------------
----

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---------------------------------------------------------------------------- 
This email, together with any attachments, is intended for the named 
recipient(s) only and may contain privileged and confidential information. If 
received in error, please inform the sender as quickly as possible and delete 
this email and any copies from your computer system network.

If not an intended recipient of this email, you must not copy, distribute or 
rely upon it and any form of disclosure, modification, distribution and/or 
publication of this email is prohibited.

Unless stated otherwise, this email represents only the views of the sender and 
not the views of the Queensland Government. 
---------------------------------------------------------------------------- 

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to