Jason Manaigre wrote:
> http://test.iisd.org/revamp/
>
> The issue is with the 'Our Knowledge' link it turns on a hidden div
> using JavaScript.
>
> The problem is, it takes up all space in the regular document flow,
> which is no good. I just want it to float.
>   

You're using visibility: hidden to hide the div, which makes it 
invisible, but still lets it take up space. Use display: none instead. 
However, you set it to display by default and use JavaScript on page 
load that hides it. This way, if someone has JavaScript disabled, they 
still can access the content. For information about how to do this, 
please turn to a general web development list, such as one of the ones 
listed here:
http://css-discuss.incutio.com/?page=OffTopic

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
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