mdibb.co.uk

Irreguarly rambling about web development and technology

Firefox 3 & setting CSS pixel values quirk

I was just doing some updates to one of my sites to fix some dynamic javascript problems that I'd discovered with the past couple of Firefox 3 betas.   A page I'd designed back in 2006 had a moving DIV that changed position as a result of a post back from ...

Change the Background-Position with Javascript

I came across a little quirk today when trying to change the position of a background-image with javascript. I tried and I tried but I just couldn't change the background image position with javascript. Typically, you just use something like this to change an element's style with javascript, where attribute is ...

Top 6 CSS Selectors

In the usual blog-style, a handy "Top x" list for the most commonly used (well, my most commonly used anyway) CSS selectors, giving you a useful CSS cheat sheet to save you time and hassle in developing your styles. "*" - Any Element. Matches any element. Great for setting global ...

Stop spam with CSS? Close, but no cigar.

I read an article today that appeared on the front page of digg about hiding parts of a HTML form with CSS to try and prevent spam. Its a nice idea, and the author claims that their "spam levels ... went down to zero". If it works for ...

JavaFX: SWING will still suck, wont kill AJAX

So today Sun announced JavaFX. Curiously, lots of people are hailing it as "The end of AJAX" ... Details are fairly sketchy at the moment, but from what I can tell JavaFX is basically just a scripting language for the SWING GUI library, with a few libraries thrown in to ...

Cross Browser CSS transparency

Transparency (or opacity if you want to call it that) in CSS is something I always forget how to do properly for some reason, so this blog post is partly just here to remind me how to do it next time! As usual, Internet Explorer has a different technique to make ...

Adobe Apollo - web apps on the desktop - goes Alpha

Recently I've often found myself thinking about the differences between a typical desktop application and a web-based application, not so much from the technical aspects but from the usability and presentation aspects. In a typical desktop application, people tend to expect an application to look and largely work the same as ...

Google “Code Prettifier” Javascript & CSS tool

I was browsing around today and came across the "google-code-prettify" Javascript and CSS code prettifier (download page) on Google Code. If you cant be bothered to look, it seems to be a fairly accomplished code-highlighting script - this is the description of the langauges supported from the Google Code site: C ...

Firefox’s broken CSS class name support

I was working on some javascript code recently to automatically reformat a <code> tag into an <ol> list so each line of code was in a separate <li> and so got a "line number", as well as some other trickery to preserve indentation etc when I stumbled across a bug ...

Two CSS hacks for identical pages on FF, IE6 & IE7

If you have been coding in CSS for any amount of time then you will have inevitably run into a situation where your CSS styled page looks great in one browser, but something is broken in another. Between Firefox, Internet Explorer 6 and Internet Explorer 7 there are a ...

May 2nd 2008
Tags: General No Comments

Safari annoys - again!

At work at the moment I'm testing the appearance of the site we are working on with Safari on Windows, with the current version we're using being 3.1.1.  We're also working pretty closely with XML and their schemas as part of the web development process. Happily working through my day as ...
April 11th 2008
Tags: General No Comments

How I’d change Firefox 3

I've been running the betas for Firefox 3 for a little while now and - despite some problems with loosing my bookmarks - its been pretty good.  But there are some annoyances that have made themselves apparent with the current latest betas that I'd really want to change. Bring back the ...
March 22nd 2008
Tags: General No Comments

Firefox 3 & setting CSS pixel values quirk

I was just doing some updates to one of my sites to fix some dynamic javascript problems that I'd discovered with the past couple of Firefox 3 betas.   A page I'd designed back in 2006 had a moving DIV that changed position as a result of a post back from ...
March 6th 2008
Tags: General One Comment

Horror of Horrors … I lost my bookmarks!

... and my saved passwords and all my cookies and all my extensions!  You have to expect this kind of thing when you're trying out the beta versions of Firefox I suppose :)  Some of those bookmarks were ones I had all the way back from whilst I was at ...
February 24th 2008
Tags: General No Comments

Picture Perfect - free & copyleft photos

Photos are a great way to get inspiration for making a site’s design, or indeed including the images in your design itself of course! Here are 5 of my favourite sites that have royalty free Creative Commons, Public Domain, copyleft etc licensed images for you to use: YotoPhoto.com YotoPhoto is probably ...

Search

The archives run deep. Feel free to search older content using topic keywords.

Browse by Category