blog thoughts

| | Comments (0)

A few random thoughts on this official re-launch of warmbrain.

· Although I wrote the initial entry a week ago, I didn't actually redirect the RSS feed until today. I wanted to re-work the design a bit and get it cleaned up. I just added a 301 Permanent Redirect from the old RSS file to this new one and it would appear that Bloglines obligingly followed the redirect. Nice.

· I originally chose more muted browns and grays for the site but my wife was unimpressed. We sat and tried out some palettes in Photoshop until she was pleased. What can I say? She loves red.

· I tried and tried and tried to use the default templates that come with MovableType and *only* modify the CSS. Alas I once again gave up and modified the main templates. It just wasn't making sense to keep all sorts of extra stuff. I wanted it clean and simple and just 'hiding' all the sections I didn't want seemed silly.

I also -- yet again -- was irritated as hell at how hard it is to get a simple 2-column setup with CSS. I even went the easy route of a fixed-width page with fixed-width dual columns and lined them up by floating them beside each other. So far so good, but then the container DIV wasn't sizing itself around the floated elements and since the container had a thick border (as it does now) it wasn't surrounding the whole page. To get the containing element to fit itself around its interior floated elements, you need the following CSS:

/* .pkg class wraps enclosing block */
/* element around inner floated elements */
.pkg:after
{
   content: " ";
   display: block;
   visibility: hidden;
   clear: both;
   height: 0.1px;
   font-size: 0.1em;
   line-height: 0;
}
* html .pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */

This effectively uses CSS to insert a block of text at the bottom of the containing DIV and then hide it -- with of course the obligatory CSS hacks to hide the hack from browsers that may 'break' from this 'fix'. I was disgusted. I opted to just remove all the modules, don't float anything and just have a linear page. Why does CSS always leave a bad taste in my mouth?

· I decided to use the fully locked-down TypeKey comment system. You can only post a comment if you sign-in to your TypeKey account. Not my first choice but since the comment-spam was so bad when I shutdown warmbrain in January -- and I hear it has only gotten worse -- I'd rather just lock it down and see how it goes.

Leave a comment

About this Entry

This page contains a single entry by Dylan published on November 6, 2005 8:28 PM.

warmbrain was the previous entry in this blog.

Homebrew Sony Style Animation is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.