Forum Moderators: not2easy

Message Too Old, No Replies

in print css, print nested div in a display none div

is it possible

         

mchristine

8:56 am on Dec 8, 2004 (gmt 0)

10+ Year Member



Hi

I have a "media print" css

The "nav" div is a "display : none", but inside it is a <div class="here"> (highlighting the current section)
I would like to be able to print that particular div, not the rest of the nav.

It sounds impossible as it is inside a not displayed one. Is there a way of overriding that?

<div id="navcol"> is not displayed, but I would like the <div class="here">to be displayed

in this html file :

<div id="navcol"><ul>
<a class="retour" href="../index.html">Ressources disponibles</a>
<br />
<div class="here">introduction</div>
<a href="02_principes.html">principes de base</a>
<a href="03_regles.html">les r&egrave;gles</a>

</ul>
</div>

Thanks for any clue.

M.Christine

Arno_Adams

1:37 pm on Dec 8, 2004 (gmt 0)

10+ Year Member



Apply a 'display: none' to the anchors in your nav div. That should solve it.

HTH, AA