Email conversation
| From | Jay Leavitt |
|---|---|
| To | Me |
| Subject | initial visibility |
| Date | 22 April 2006 22:36 |
I was reading your javascript tutorial containing functions |showDiv and
hidediv. Initially, the message '|This positioned element was hidden. Hide it
again <javascript:doNuhn();>.' is hidden. I looked through the source code and
could not find where it was initially hidded. How is this done?
Thank you. Jay
| From | Me |
|---|---|
| To | Jay Leavitt |
| Subject | Re: initial visibility |
| Date | 23 April 2006 10:29 |
Jay, > I looked through the source code and could not find where it was initially > hidded. How is this done? http://www.howtocreate.co.uk/styles/demostyles.css This CSS file sets the initial visibility using visibility: hidden; You can also use a style attribute on the element itself if that makes things easier, but generally it is best to have CSS in a dedicated stylesheet. For more details, see my CSS tutorial: http://www.howtocreate.co.uk/tutorials/css/incorporate http://www.howtocreate.co.uk/tutorials/css/inline Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/