Wednesday, June 17, 2009

Repair / Clean print spooler

Read this article to help fix a problem where the print spooler does not start or keeps stopping after each start.

It says for XP but I have tested this on Vista and it corrected the problem I had.

You can also use cleanspl.exe from Windows 2003 Resource Kit but this does not work for Vista.

Thursday, April 30, 2009

What happens when you run "Repair" on a network connection.

1. Attempt to renew DHCP Lease
2. Flushes ARP cache (arp -d *)
3. Flushes NetBIOS cache (nbtstat -R)
4. Flushes DNS cache (ipconfig /flushdns)
5. Re-Register NetBIOS name and IP address with WINS (nbtstat -RR)
6. Re-Register computer name and IP address with DNS (ipconfig /registerdns)

Thursday, February 26, 2009

Absolute positioning in a CSS container

Now this was a real pain to figure out as there wasn't much documentation on it. In order to successfully utilize absolute positioning inside a CSS container where the position will be relative to the container and not the window you will need to define the following:

#container {
position: relative

This will ensure that any object placed within this container will be positioned relative to it.

<div id="container">