« Posts under Programming

Home Stretch

Alexis and I are reaching the end of our 6-7 month old home improvement project. There’s no picture this time since there’s not much more to see. It’s doubtful you would be able to see the grout and caulk very well and it’s not all that interesting to boot. All we have left is to seal the grout, install the shower head and shower handle, then buy and install the shower door. It will be a huge relief to be completely finished.

No transition here, but how about a picture instead.

Atticus and Minna

Things I learned this month:

  1. You can access an array in C++ like this, “4[array]“, instead of the typical way, “array[4]“. I haven’t found a reason yet as to why it’s allowed, probably some historical reason.
  2. The AMC remake of “The Prisoner” is a waste of time to watch. The ending is poorly written and disappointing.
  3. It would have been easier to put up the X-mas lights if I had tucked the plastic doo-hickies under siding instead of under the roof shingles.
  4. Management is always right.
  5. The Star Trek movie that came out this year is great on DVD.
  6. Never leave home on Black Friday and the subsequent weekend.
  7. I’m addicted to Facebook games.

CSS And Images

I don’t have much to post about at the moment. I’ve been doing some work using CSS to format images on my website. While adding images to my Volume Rendering page, I noticed I was using tables to keep images in line. Using tables in that manner is not good form, so I utilized CSS to format them instead. It took a bit of time but it turned out looking great. The tricky part was setting the images to be side by side, centered, and stay within the content area. There’s no specific way to tell it to center a set of images. I had to make them “float: left”, which would end up moving the image out of the area I intended them to stay. Turns out there’s a trick, where at the end of the list of images you clear both the height and width, then it behaves.

In my research, I also discovered that I was using CSS improperly. Nothing visibly wrong. I was using “id” instead of “class”. They produce the exact same results because browsers normally don’t enforce the rule that the “id” specifier should only be used once in a page, while “class” is used multiple times.

I apologize if this sounds like greek, but check out my Photo Gallery and Volume Rendering pages to see the fruits of my labor.