Another Site Up
Saturday, August 21st, 2010
I have had the domain ‘webpage-designers.co.za’ sitting about for a while now. It may be a strange name but at least half of the enquiries for websites that come through the phone refer initially to a ‘webpage’ even though the finished product comes to 50 pages.
Given the momentum generated (if you can call it momentum) by the new Warthog website, I thought I would put something in this vacant space. As usual, a variety of new techniques were experimented with - typically CSS hacks.
The first was CSS drop shadows. A bit of a code mouthful but with the exception of good old IE, worked well. I will experiment with those a lot more.
Second, CSS gradients. I have always been a fan of Uncle Bill’s gradients and other MSIE filters and used to use the gradients a lot. The alternative was to use a background image - fine unless the container has variable height. Yes, you could use a background and an image repeat-x but it has to be loaded and we’re talking about days before CSS appeared.
Third, CSS radiussed corners. I’ve always loved these things because they soften up the page. Many still use the image slice - sorry, takes too long to code and to load (and to edit). Its easy to make these either stand proud or cutout or to have reversed radiuses.
Both the right panels have all these techniques and not a single image. The lower panel I am particularly proud of as each of the nine CSS elements that are required have a three colour gradient applied even though some of the elements are only a single line.
Fourth, a custom scrollbar. I also love this thing. Its a CSS file and several javascripts but works on all the browsers I have tested. The CSS simply defines the scrolltrack and its top and bottom and then the bar and top and bottom. I have dispensed with the track to keep the display clean. The first bar was of course a barber’s pole - looked great but not appropriate. So, I settled on a threaded bar with a couple of nuts.
Fifth, CSS animation. The round email link enlarges on mouseover - only one image used. I’m not too sure about this but will keep it anyway.
It goes without saying that none of these CSS hacks validates but given their stability across browsers, I have still included the W3C button. The HTML validates with no problems.
In the usual effort to increase search friendliness, the ‘Webpage’ may look like a graphic but its white text on a background. Similarly the ‘websites’ at the very top is real text on a CSS opacity div (it also hides an unfortunate junction where the graphic disentangles itself.
This graphic is not a ‘div’ background. Its the ‘body’ background which makes it easier to add bits on top of it.
SEO-wise, the site features nowhere as yet. I realized belatedly that although Google recognizes ‘web sites’ as ‘websites’, it recognizes ‘webpages’ as ‘web pages’ so I will have to change the header text at some point.
