A New Look
I've been doing some playing with HTML and CSS recently. It's not that I don't know either (I think I do - if I can be told how to make something look, I can certainly do it) but I suck at design - that's why I'm a programmer, not a graphic artist :)
I recently built a new skin for my blog. This wasn't just overriding the CSS as we normally do in .Text, but a whole proper skin. I blogged about that recently here. The cool part in it is that I managed to completely remove the whole sidebar that plagues blogs everywhere. It's useful to have that information there ready and available, but it takes up so much space! I managed to convert it into a series of dropdown menus - those of you who read via rss or only read the main front page, come in and have a look :)
I certainly don't claim artistic brilliance, but it's clean and simple, which is what I wanted. And the important part is that not only does it work in IE, but Firefox and Opera as well. I had one main trouble with getting it consistent through all three, but I got that solved quick enough thanks to Ben Reichelt.
Lately, I thought I'd get started on sorting out the main page for CodeBetter itself. The standard homepage for a default .Text install is pretty damn boring, so I figured it needed a little sprucing.
Again, I was bitten by Firefox :) In CSS, to align things to the right, I've always used a 'text-align: right;' style. It always seemed silly to me it was explicitly named text, but so be it - it always aligns everything to the right.
But no! I had a div with a 'text-align: right;' set on it, and did it's contents align to the right? Sort of. The text inside it did. The table inside it didn't. Wierd. I tried many many many different tricks that I knew of, but what did I have to report to? "align=right" as an attribute on the table tag itself. Not a CSS style, but a deprecated attribute. Phwah!
Anyone got a solution for me?
I'm the first to admit inexperience with forefox, but I've got the main homepage for CodeBetter looking pretty good now - again, it works in IE, Firefox and Opera, and I based it on the CodeBetter skin that some of us are running here. Keep an eye out for the changes (they haven't happened yet) - Brendan says he'll get it up sometime soon :)
Update: It's up and running. If you love it, let me know. If you hate it, complain to brendan *smirk*
Listening to: longview - green day - (3:58)