Out of the crooked timber of humanity no straight thing can ever be madeImmanuel Kant
Also relates to Peregrinations
Unfortunately I had to say goodbye to a few childhood memories today. My home has suffered a bit from damp the last few winters and I got a real shock when I opened my video/games cabinet last night to discover an entire culture had evolved, that even Mr Bellamy would have been proud of! So the day has been spent restoring my living area to a more habitable balance, paying the bus fare for my herd of woodlice to go and live elsewhere, and disposing of some now unrecognisable classic board games - Risk, Stratego and Dungeon Quest to name a few. Still I did rediscover a few old CDs slipped down the side of the cabinet, including Northern Exposure, which is now bringing back a few memories of those heady clubbing days in the hot Leeds sun of 1997.
Back to the engine now, and been toying around with Python and the transaction capabilities of the InnoDB on MySQL server. Oh and after reading this fun article on using CSS borders to create slants, here is a little herald I created last night (just for amusement). Mozilla and Firebird only for this one.
Posted on Jul 06, 2003 at 18:33:03. [Comments for Clean Up, Clean Out And Slants On The Side- 0]
This post does not relate to any other topics
Finally got round to downloading the Mozilla 1.4 CR build last night, and been playing around setting up as my default development browser today. I had rarely used the DOM inspector in older versions, but now realising what a handy inclusion it is for mapping out errors, especially when working with absolute positioning in CSS using the Box Dimensions.
I did get a bit of a shock to discover that the WWT rebuild I created last week was totally reluctant to display in the new browser. A quick run through Firebird confirmed this was a conflict between the CSS I had declared and the Mozilla browsers.
The original stylesheet positioned each column
using the float:left property - I knew there were problems with cutting off text in IE6 when assigning float to div containers, but had not seen it in Moz before.
The culprit was the relative declaration of the footnote, however I decided an alternative approach was called for. So a quick clean up operation!
div {float:left}div {position:absolute;left:0} and div {position:absolute;right:0}Here is the result And I guess the the lesson is, Mick,
If you play with float you play with fire!
Posted on Jul 05, 2003 at 17:19:06. [Comments for The Fallacy Of Floating- 0]
Also relates to Web Standards and Accessibility
I decided to join the games this evening and have a quick stab at rebuilding the RNIB home page. Admittedly, a lot of the work had already been done by Simon and the others, but I started with a blank slate to see if I would take the same approach. The final draft is a little and rough and ready - done at speed - but renders consistently across the Windows browsers. Once again I haven't been able to test it on other platforms - barely enough room for a single PC in my office! Since the RNIB serves a specific purpose I set specific structural and design goals for the rebuild
Much of the approach I took appears to be similar to the work already done, however a few areas of the build differ
h1 {background: url('../g/rnib.gif') no-repeat top left;}. Then the text equivalent, cloaked from the screen in a span element, would be served for non-visual user agents,
instead of the alt tag of the image.position:absolute to place each column.That's most of it. I am sure there is a lot that could still be improved, IE does a vainishing trick sometimes over the inner floats, and, the CSS could certainly be improved if
more advanced selectors could be used without compromising browser compatibility (good ol IE!?) Oh, and I only set a global selector to switch off borders, margins and padding at the outset since I wanted to do this
quickly and working from a blank slate seemed the quicker way to go. Actually worked quite well, although it makes for hard work integrating Fahrner's keyword hack to support IE5.x safely. (I say 5 since @import
was used to exclude version 4 browsers, which actually get a reasonable, if plain, styleless version). Finally, the filesize (15KB) is not representable since I removed much of the anchor code, and additional accessibility code would probably
still need to be added, plus metadata.
Posted on Jul 05, 2003 at 01:24:39. [Comments for Another Makeover For The RNIB- 0]
Also relates to Browsers
Following a quick browse of the Bible this evening (in the absence of Big Brother Eviction's - supper viewing only, honestly!) I resolved the gap issue in the Mozilla browsers with the Forest Adventure web site rebuild. It all boils down to the way Gecko (in true Standards Mode) interprets the position of inline images in relation to the baseline. That is they sit on the baseline allowing a gap for the descending curve of certain lowercase letters (eg g, y).
That is all fine and dandy, and JZ gives an obvious quick fix - to declare images as block level elements - img {display:block;}
However, while this works in the scenario of a Transitional page with navigation images still nested in tabular cells, it will not work in a Strict environment with a horizontal nav bar composed of images nested in inline list
elements. The fix was no more strenuous all the same. Since the gap is based on the defined font size for the element regardless of the existence of text, simply down sizing the size of the font resolves the gap - ul {font-size: 1px;}
Zero is not an acceptable value, but a font size of 1px clearly does the job. Of course as a user increases the default screen font size (in Mozilla or Opera) there comes a point when the gap will reappear, but by this time, the font is so large on rest of the page, it has become pretty illegible and ugly anyway!
Posted on Jul 05, 2003 at 01:23:21. [Comments for Gecko Gaps- 0]
Also relates to Web Standards and Accessibility
The new RNIB website has really kicked up a fuss in recent weeks. Afterall, the facelift is 100% a disaster! Here are three admirable rebuilds done so far…
Let us hope RNIB start to take note…
Posted on Jul 03, 2003 at 23:30:51. [Comments for RNIB Free For All- 0]