> Courtney Burge wrote:
> > On this page:
> > http://www.cofc.edu/~hml/index2.html
> >
> > I have a header image that is set to "display:none" on the regular
> > stylesheet and will print with the use of a print stylesheet.
> >
> > Is there a way to also hide this header when toggling OFF the CSS on
> > the page?  I can't make the header image a background image, because I
> > want it to print ...
> >
>
> Well, obviously CSS can't do anything to solve a problem that occurs
> when CSS is off. :-) So, any solutions are off-topic for this list. Try
> asking your question on another list that can give you scripting advice:

What about using CSS not to hide the image but to *show* it?
Not using "display:none" in the regular stylesheet but setting *dimensions*
in the print stylesheet.
HTML:
<img src="header.gif" width="0" height="0" id="zHeaderImage" alt="Blah" />
CSS:
#zHeaderImage {height:120px;width:450px}

---
Regards,
Thierry | www.TJKDesign.com

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to