[thelist] Whitespace Issue using Nifty Corners Cubed

Taurus James taurus_james at yahoo.com
Thu Jan 4 10:37:41 CST 2007


Tim, I'm sorry I didn't reply earlier.  I seem to be getting the
messages out of sync.  This one just dropped in today! 

I wish I had received it earlier.  You nailed it!  I totally
overlooked that "big same-height" setting.  Thanks so much for
the catch.

- Taurus



--- tim <tim at hyperlinkage.com> wrote:

> Taurus James wrote:
> > http://taurusbeats.com/
> > 
> > The first tab displays fine without a specified height for
> the div.
> > However, when you click on a nav button (like "BUY"), the
> other divs
> > are shown with an excessive amount of whitespace below the
> content.
> 
> This definitely *is* a problem with the nifty corners script. 
> In 
> nifty-home.js you have the following:
> 
> 	Nifty("div.box","big same-height");
> 
> This is causing the JavaScript to attempt to calculate DIV
> heights based 
> on the size of other items with class="box".  I suggest you do
> the 
> following to fix the problem.
> 
> Replace the aforementioned line with:
> 
> 	Nifty("div.box","big");
> 
> In your CSS for the .box selector remove:
> 
> 	height: 200px;
> 
> Your DIVs should now display at their natural height.
> 
> Hope this helps,
> Tim
> 
> -- 
> http://www.hyperlinkage.com/
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the thelist mailing list