Monday, July 26, 2010

absolute positioning not working in firefox

position: absolute works in Firefox. Most likely the top and left attributes are not specified. An important point to note here is that firefox does not allow tags like top: 124 px; note the space between 124 and px. Or may be it is an issue with the padding of the parent element. Either way firebug is an excellent tool to debug css issues in firefox and chrome

Tuesday, July 20, 2010

Virtualbox Bridged Adapter Linux

Host OS: 2.6.32.12-115.fc12.i686
Guest OS: Windows XP

Error:
NAT connection is working fine and mine is a wired connection but when I try to connect via bridged adapter I get
Failed to open/create the internal network 'HostInterfaceNetworking-eth0'
(VERR_SUPDRV_COMPONENT_NOT_FOUND)
moreover
-bash: /etc/init.d/vboxdrv: No such file or directory

Solution: Run following as root before launching VBox

insmod /lib/modules/`uname -r`/extra/VirtualBox-OSE/vboxnetflt.ko
insmod /lib/modules/`uname -r`/extra/VirtualBox-OSE/vboxnetadp.ko

Virtualbox Shared folders Windows XP Guest

  1. Install VirtualBox guest additions from http://dlc.sun.com.edgesuite.net/virtualbox/
  2. Share the folder from devices menu of virtualbox window
  3. Windows Explorer->tools->folder options->select classic windows
  4. Windows Explorer->my network places->entire network->virtualbox shared folders
  5. For write access add a new network places with a different name from the name given in VirtualBox