quick update: how to force vertical scrollbar with CSS

Still studying hard for exams over the next few weeks, but I took a quick lunch-break today and “relaxed” by doing a bit more web work. I came across the problem that some of my pages for a site were less than the height of the browser window, while others were longer. The result of this is that you get some “flickering” when navigating to different pages that don’t require a scrollbar as the layout shifts back and forth slightly if the browser doesn’t have a permanent scrollbar gutter..

The solution is to force a vertical scrollbar. This works well in all widely used browsers with only a few lines of code as the document height will always be at least one pixel longer. Just insert the following into your CSS:

html, body {
height: 100%;
margin: 0 0 1px;
padding: 0;
}

What the method above does is set your site’s height to 100 percent with a bottom margin of 1 pixel to force the vertical scrollbars to appear with at least one pixel to scroll. The advantage of this is that this works no matter what the visitor’s resolution is; and you don’t need to manually set the page height.

quick update: still studying….

Labour Weekend here in New Zealand. No rest for the wicked though, and I guess that includes me….
Another day of studying hard for exams this week. Although I did get a little “break” from study this morning to paint part of the house (fun, fun, fun!!!). I’ve got my next underwriting delegation exam tomorrow afternoon, then uni exams throughout this week and the next two after that. All over by mid-November then into full-time work and also some fun coding and web-dev times too.

No exciting news to report, so I’ll just throw up some sexy tunes from waaaay back in the day:

Loving the smooth dude’s of the 80’s; and the ladies weren’t ashamed to flaunt it either. I really love the way music vids back then weren’t all special effects, but actually were just film of the artist singing – maybe with some track-spots or other lighting effect.

I really shouldn’t start posting eighties music videos, because I’ll never manage to share all of the great ones. The eighties was DEFINITELY the best era for music. Loving it all!!!

Anyways, best back into the study, so I’ll update again tomorrow.

end of semester

I suppose I’d better make the time to post something again, since lecturers have officially ended for the semester. Now it’s just study hard for exams over the next few weeks. All over by mid-November though. Looking forward to that first cold beer in the sun with no more study to do.

Here’s a major stuff-up by a reporter…she’s definitely NOT talking to Al Sharpton…..

I’ve redone my Windows 7 desktop over the last few days also. Used some funky software from a variety of sources, all free!! As a base for everything, I wanted to totally minimise the appearance of my desktop. To start with I removed all icons from my desktop (right-click on desktop -> Personalise -> Change Desktop Icons -> uncheck all boxes), and then set the taskbar to autohide (right-click taskbar -> Properties -> check “Autohide the Taskbar”). I then installed RocketDock to replace it. To this I also added the Stack Docklet plug-in. The result of these two installations is an expanding taskbar similar in performance to the Mac taskbar (RocketDock) which also serves up grouped programs in “stacks” (Stack Docklet).

RocketDock is created by an Apple fanboy and fangirl on OS X as a peace offering from the Mac community to PC users.

I have changed the default icon set to Reflections by styrizo that turns the normal icons into small text icons.  Installing this is simple.  You can either copy over the new icons files into the directory with the current ones and overwrite; or, do what I’ve done and create a new folder in the icons folder, and then point each docklet or link to an icon in this folder (it MUST be a sub-folder of the icons folder!!). The Reflection Icons come in two variants to allow for the coloring of your desktop and bar. You can either use the “light” or “dark” icons. These are slightly mis-named as the category refers to the background, not the icons; ie the dark icons are essentially white, for use on a dark background.

I have seen a few useful minimalist widgets out there, such as a vertical calendar application. It is run using AveDesk 1.4.  Basically this allows you to use sidebar like widgets all over your desktop.  I only use the SysStats plugin (which is a separate download) and the vertical calendar download from the Avedesk website. The SysStats plugin I’m only using because the vertical calendar requires it to run. I don’t actually display the stats at all.

AveDesk is not FreeWare, it is instead DonationWare; what this means is that if you use the product regularly you are required to donate towards it.

So, what I’ve ended up with is an almost totally empty desktop. with only a slim minimalist calendar down one side, and  a Mac-like taskbar curled up along the bottom. I’ll post some screenshots later today, or tomorrow.

Just thought I’d end with this gun-safety fail that’s been featured on the news. The first video is just the short funny part, the second is the “extended” version with more context.

quick update: Kramer’s entrance

Just a quicky from YouTube, this clip is billed as being every single one of Kramer’s entrances on Seinfeld….in chronological order!!

procrastination, that’s what I do

So, I am currently “doing an assignment”. It’s actually frustrating how banal they can make an otherwise interesting subject….it’s meant to be a database paper, however we spend more time being forced to use a tool/software than we do actually dong database work. The current assignment could be done in about 10 lines of SQL, but it’s, so far, taking days to get part way through it. It is even starting to make me dislike DBs (joking!!).

It’s now the final week of lectures at uni, and then it’ll be exam time. My final set of exams for this degree too!! I’ve already started contemplating returning in a year or so to do a Masters in International Business, but first I need to get back into the real world and earn some $$. Also get sqwi.sh fully running, and then the other few sites too. That should hopefully be pretty much done by Christmas….

I’ll just insert a lovely couple of mixes by d-t3ch here, they’ve even got sampling from Entourage in one!!

Men at Work, Land Down-Under. We’re gonna get drunk with Russell Crowe, we’re gonna head-butt some kangaroos!

Anyways, I’m just polishing the API for sqwi.sh then that can go public. I’ve got a couple of sites by other people already waiting to use the API which is very cool. I found an excellent discussion of implementing an API for your web service here. And I’ll be doing a bit of my own one as well, because I have tricked up a few things that aren’t mentioned in that tutorial.

Once assignments are over at the end of this week, I’ve got the IEEE Extreme Coding competition this weekend. 24 hours of code!!! We just get in there and code, sleep in lab if we need to, and code some more. I’m gonna be giving a big shout-out to Mountain Dew and Red Bull for my team, and if either of those lovely companies want to send me some freebies, I’ll ignore the other from now on…..

I suppose I should get back into the assignment now, but at least I got a little bit of procrastination out of the way. I’ll be getting a bit more regular with my posts again over the next week or so.

I’ve got a couple of sites by other people already waiting to use the API which is very cool. I found an excellent discussion of implementing an API for your web service here. And I’ll be doing a bit of my own one as well, because I have tricked up a few things that aren’t mentioned in that tutorial.
Once assignments are over at the end of this week, I’ve got the IEEE Extreme Coding competition this weekend. 24 hours of code!!! We just get in there and code, sleep in lab if we need to, and code some more. I’m gonna be giving a big shout-out to Mountain Dew and Red Bull for my team, and if either of those lovely companies want to send me some freebies, I’ll ignore the other from now on…..
I suppose I should get back into the assignment now, but at least I got a little bit of procrastination out of the way. I’ll be getting a bit more regular with my posts again over the next week or so.

just a quick YouTube vid

Title says it all. This is just plain embarassing for the rest of us. Was she drinking vodka in her water glass, she certainly seems “happy” enough.

here I am again

Very silly story, but I installed Windows 7 over the past week, and when I finally got time to come back online and blog I had forgotten my password (yep, dumba$$!!). Then I realised I had set my email address for this blog to one I haven’t used for a while….finally got into there, and here I am.

So, I launched sqwi.sh finally yesterday. It’s my URL shortening service, with a whole lot of statistical reporting to come. It’s a fully running, however the reporting and graphing features need a bit of tweaking as my host has different settings than I was expecting. They will change them, but for $130/hour I figured I could just re-code a bit of stuff. That’s all getting done as I get the chance when assignments and exams allow. The API is coming soon too.

I had my ANZIIF exam last week, and that went really well I think. Just waiting for marks now. IEEE Extreme Coding is next weekend (24th and 25th), so that’ll be a bit of fun too.

YouTube vids later today.