Aug 19

Equal sidebars, longer content

Have I ever mentioned how much I love a challenge? I love to play with CSS.

Anyway, there was a question on one of my email lists the other day, and I was sure I could accomplish it. Basically, someone wanted a site layout where it was your basic 3-column thing. Content in the center and two sidebars flanking it. Simple enough. But the trick was - they wanted the two sidebars to always have the same length as each other - no matter which one was the longest. The center content section would have nothing whatsoever to do with the length of the two sidebars. Oh, and no “faux columns” tricks, or javascript to be used.

Could this be done using straight up CSS? I thought so, but I could forsee some problems with it.

Wouldn’t you know it - I was right.

read more »


0 Comments
Aug 03

Son of Suckerfish and Flash

So, you’ve implemented the Son of Suckerfish dropdown menu on your cool new site design. And it just so happens that you have an awesome little piece of Flash on the site - something to add to the look in a small way without looking like a cheesy animated GIF. It’s in a nice spot, right below your new dropdown menu.

But, hold the phone! You’ve now discovered that the dropdowns fall behind the Flash object. You double-check your CSS, and you’ve got the Flash object set with a z-index of 0, and the dropdowns at 1000 - but the dropdown is still falling behind the Flash.

What gives?
read more »


0 Comments