Nik's Technology Blog

Travels through programming, networks, and computers

IE 6 Bug with Absolute Positioned Layers

How important is it that people should be able to cut and paste from your website?

Having designed a site using nothing but DIV tags instead of using a table structure to lay out a page I find that IE 6 has a problem concerning absolute positioned layers.

The pages look fine, however if you go to select a certain piece of text you'll find that it selects the whole page instead (or at least not the part you wanted to select). Frustrating or what!

After some investigation it seems that a lot of people are discovering this problem. One solution it seems is to remove the XHTML doctype from the document, this forces IE 6 into quirks mode, which renders the page differently, the error disappears, but it stops the page from validating. Solution? I don't think so!

The other solution is to avoid using absolutely positioned elements and use relative ones instead. Surely we are trying to progress website design not hinder it.

I have yet to find a proper solution to the problem or find out if and when Microsoft will fix this bug, however I did come across some javascript that appears to correct the problem, albeit a very dodgy looking hack, seems to do the trick though. The link to the hack is below.

IE 6 Absolute Position Text-selecting hack

Wireless and Linux

While I'm on the subject of wireless networks (WLAN) I'm still waiting for Linux to catch up and support more Wi-Fi devices so I can start to use my Linux box to the full. As yet I'm still unable to get Mandrake or Red Hat to work with my MA111 out of the box or using linux-wlan.

If anyone knows of any PCI or USB solutions that are compatible and available in the UK please contact me via my contact page.

http://www.linux-wlan.org/

XP SP2 and Netgear MA111

I installed XP Service Pack 2 last night for the second time after rolling it back previously.

The first time I installed it I couldn't get my Netgear MAlll wireless 802.11b USB device to work, I've since installed it on various other XP machines and with each install i've had different issues with the device.

I learned fairly early on that the supplied Netgear software wouldn't work under SP2, instead you have to opt for Windows XP wireless configuration, which incidentally has been slightly improved since SP1. Having said that it's still not perfect, since you have to enter your WEP in manually rather than use a password to create it like the Netgear software.

There are also issues with driver installation when you do a fresh install of XP and patch it with SP2 before installing the MA111.

The joy of computing :)

http://www.netgear.com/products/details/MA111.php