Inside my external stylesheet..

#id-is-hidden-by-default {
   display: none;
}

or you can also try:

#id-is-hidden-by-default {
   visibility: hidden;
}



Steef
Op 1-sep-2006, om 19:26 heeft Jim Davis het volgende geschreven:

> Stefan,
> Adding display: none; to the addText div dosen't work. I also tried
> creating a class:
> .hideit { display: none; }
> and changed the html to:
> <div id="addText" class="hideit">
> That dosen't work either.
> Where did you add display: none to make it work properly?
> Jim
>
> On 9/1/06, Stefan Nagtegaal <[EMAIL PROTECTED]> wrote:
>>
>> Op 1-sep-2006, om 18:05 heeft Jim Davis het volgende geschreven:
>>
>>> I am trying to use blind down and blind up with a div that is hidden
>>> when the page loads.
>>>
>>> My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html
>>>
>>> The blind up and blind down functions were working great until I  
>>> added
>>> the rule display: hidden to the addText div in order to have the div
>>> out of view when the page loads. As you can see from the demo,
>>> clicking 'View Additional Text" makes the div snap into view rather
>>> than scroll into view.
>>>
>>> Is there a way to have the page load with the addText div hidden and
>>> have it scroll into view when the link is clicked?
>>>
>>> See Stefan's IFX demo here: http://interface.eyecon.ro/demos/
>>> ifxblind.html;
>> Jim, try using display: none;.
>> I'm not convinced that is "the right way"(tm) but, overhere it worked
>> over and over again..
>>
>>
>> /me confused
>>
>>
>> Steef
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to