Month: May 2004

The story of Eggdrop, Part I

Eggdrop was born with “flotation-disorder” which means he can’t swim! He rolls around helplessly in the water, sometimes floats near the surface, sometimes sinks to the bottom, and generally has a tough time getting anywhere. His floppy little fins aren’t very strong either – he doesn’t have any reliable means of propulsion or steering.

So how does he get around? It depends on what kind of day it is. If it’s a “sideways” day, he scrabbles about sideways like a crab, using one fin to push along the gravel, and the other for stabilizing, with added boost from shooting water out of his mouth like a squid. If it’s a “headstanding” day, he bounces along on his mouth, like a balloon.

Continue reading

Setting height in nested divs

Note to self: USE THE RIGHT DOCTYPE!

One of the first things we web developers usually do upon starting to using CSS is to try to recreate our old HTML multi- column layouts. which were invariably built with tables.

This turns out to be quite a challenge, particularly getting columns to be equal in height. In other words it’s difficult to get CSS-styled elements to act like a table.

I’ve found that many of the so-called 2 and 3-column CSS-only layouts get around the difficulty of making equal-height columns by using a background image in a container div that makes it appear as if the columns have backgrounds which are the same size. Clever, but it adds a little complexity and some inflexibility to the layout.

When I was first starting to convert my pages to CSS-based layouts, one of the methods I tried was to surround the columns with a container element which I hoped would transfer the height of the tallest div to the other one through the use of "height:auto" and "height:100%". It was a dismal failure, but I learned a few things in the process. Here’s what I tried:

Continue reading

Cover the Uninsured Week

According to the site: Cover the Uninsured Week.Org, May 10-16 is “Cover the Uninsured Week,” a weeklong series of national and local activities that is part of a year-round, nonpartisan effort in support of securing health care coverage for every man, woman and child in the United States.

The site is devoted to organizing and distributing information related to the weeklong event, with Fact Sheets, data on the uninsured in America, suggestions for events you can plan, etc. It also has a lot of information for individuals who need insurance, including guides to finding insurance in your own state no matter what your situation, information on free or low-cost insurance for your kids, information on community health centers, guides to the legal protections you may have under the law in all 50 states, and more. I took a look at some of the guides, they are definitely worth a read if you need insurance.

One thing I’ve found that the site doesn’t seem to have is a list of companies that offer major medical coverage or primary care coverage for those that are not getting insurance through their jobs, but can afford some coverage if it is not too expensive.

Continue reading