Archive for September, 2007

Clear left workaround

You may have run into this problem, you may have not. But I found an acceptable workaround to this particular problem.

Here’s the scenario.

So I have a two column layout where my navigation list (red) is floated to the left and my main content is on the right. In my main content I have another navigation list (gray) that floats to the left. And the text in my main content now wraps around. I really want my main content text below the gray navigation to still to the right of red navigation.
The scenario

If I use a simply use a clear:left on the container around my content text, I will have it all the way below the red navigation list. This is expected behavior as clear:left means make sure there is no elements that are floated to the left of me. It however is not the ideal behavior I wanted.
The scenario clear left

In IE & Firefox (possibly other browsers) there is a *bug* that if you wrap the floating element in a fieldset, the fieldset acts as a container that stretches as far as the float elements.
The scenario fieldset

This however really isn’t a good workaround because it uses a *bug* in both browsers and it DOES NOT work in browsers like safari. So I came up with a better solution today.

Float the ul element to the right with its width set to 100%, and then clear the container around the text to the right. This obviously only works if you don’t have anything above the text that’s also floated to the right.

Here’s the final result.

Cutest Firefox poster!

My coworker just sent me this cutest Firefox poster!! Everyone should get one.
cutest Firefox poster!

I was very enraged by the JSF tag
h:selectOneRadio

Because it renders the radio buttons with the TABLE tag @_@ instead of something CSS friendly like list or div tags.
Fortunately if you use the tomahawk’s version of
t:selectOneRadio
You can render the radio buttons your own way.

Orientation of the options list. Valid values are “pageDirection” for a vertical layout, “lineDirection” for horizontal, or “spread” for developer placement. The default value is “lineDirection”. If the “spread” option is selected, this tag does not render HTML. Instead, the developer uses “radio” tags to position radio buttons for each of the SelectItem instances. See the “radio” tag for further information.

Wisconsin Dells Vacation

We have planned this vacation in May and we finally did it. Even with all the moving, selling & buying house, getting a new job and going back to school, we still made it. It was an awesome vacation. We stayed at the Wisconsin Dells area for six days five nights. Two at Chula Vista and three at a whirlpool suite at Wintergreen resort. We spent most of our time in the Chula Vista indoor water park and the Mt. Olympus but we also visited Timbavati Wildlife Park, Ghost-Out-Post, went on the original duck tour, the jet boat tour, and watched the Tommy Bartlett Show. We also tried out some restaurants in the area. Here’s how I would rate everything.

Chula Vista - Love this resort. Next time we will definitely stay longer. The indoor water park here is even better than the one at Mt. Olympus. We rid the fast Ruby Run tube ride for oh maybe about 20 times. We didn’t realize it connects to the river walk so we did our walk around in a dumb route.

Wintergreen resort - The hotel is not impressive. The “suite” with the whirlpool is very crammed. They forgot to do housekeeping in our room after the first night. I was not happy. We had our breakfast at the hotel restaurant, it was decent.

Mt. Olympus - We went there coz the tickets came free with our stay with Wintergreen. The outdoor water park is decent but the roller coaster rides cost extra on top of your admission. What kind of sense does that make? After two days we find ourselves mostly in the wave pool and the lazy river. If we had any energy left, we’d probably check out Noah’s Ark but you get wore out after too many rides.

Timbavati Wildlife Park - a tiny worthless zoo. Not worth visiting if you don’t have young children.

Ghost-Out-Post - more disgusting than scary. Pretty short tour and feel cheap.

The Original Duck tour - Very interesting tour on both land and water. Don’t expect a lot of leg room in your seats.

Jet boat tour - Very fun and fast. The boats do hard brakes and spins and you will get wet.

Tommy Bartlett Show - We went to the night show and totally didn’t enjoy the water ski part of the show. I thought it was completely overrated. The the performers made multiple mistakes. The clown was unbearably cheesy. The story line was poorly written. The only impressive thing was the hang glider at the end. The second half was so so. The juggler was very entertaining and kept your attention for the entirety of his performance. Overall it kept me wondering if my money would be better spent going to a different attraction.

Crabby’s All You Can Eat Seafood - $29.99 per person and it doesn’t include drinks. What the hell? The food isn’t bad but it’s just not worth thirty bucks. We regret eating there but it’s a once in life time mistake.

Wild West All-You-Can-Eat Buffet - We stopped by since we had a coupon but the place smelled revolting to me so we left.

Paul Bunyan’s “Northwoods Cook Shanty” - Family style all you can eat restaurant. They just keep bring out fresh food. Very awesome. Loved it.

That’s all the unique places we visited. We were also surprised how many Eastern Europeans were working in the area. I don’t have many photos to share since we didn’t take many. Just two I kinda like.

Inside of the duck
While the duck was passing thru a canyon

Dells
A view of the Dells from the river walk