Webdesign: CSS Min-Height for Internet Explorer

7 11 2008

This morning I started creating and testing a new CSS website template for one of my pending projects. After creating the CSS stylesheet and basic HTML page with DIV’s my content container and footer are not being displayed as they should. For the content div container I assigned CSS property “min-height=400px;”. Using of min height of 400px the website will have nice overview instead depending on the content I enter in the container. The result:

image

The screenshot was made in Internet Explorer and I checked all my html and css code and everything looks fine. I opened Firefox and opened same URL and the page was displayed as it should be 400px for the content container ;). I am new in the web devolvement and trying to get the basics but this is one example when working with different browsers. Internet Explorer ignores “min-height” and always assign it 8em if the container doesn’t contain data. To fix this problem you will need to define addition CSS declaration for the container.

 

  • div#content {
       min-height: 400px;
    }
  • * html div#content {
    height: 400px;
    }

or use another solution

  • div#content {
       min-height: 400px;
       height:auto !important!;
       height:400px;

    }

image

Wow this fixed my first problem.



Windows XP Administrator account login failure

18 05 2008

I am sure many of us hit this problem before, but after 6 years working with Windows XP I forget to change default settings over and over. Most of our clients are sitting in some kind of domain structure and receiving all their settings from Group Policy, but you probably will also have workgroup clients. Today I am testing the remote installation of Symantec Antivirus 10.2 server and hit this Administrator account problem.

image

First I thought the password is wrong; ok try again no…; than I add the computer\administrator and tried again; no again setup message.

Logon failure: unknown name or bad password. for \\%COMPUTERNAME%\admin$

 

I went back to my Windows XP virtual machine and checked the setting in Windows Explorer / Tools menu / Folder Options / View tab / and uncheck “Use simple file sharing (recommended)”.

image



Hyper-V Remote Management console Windows Vista permissions

7 04 2008

After you have installed Hyper-V Remote Management mmc console on your Windows Vista SP1 client and you connect to your Windows Server 2008 Hyper-V RC0 host servers which are sitting in a workgroup you will hit same problem as I did and many others.

You do not have the requested permission to complete this task. Contact the administrator of the authorization policy for the computer ‘COMPUTERNAME’

image

Basically what happens here is that Windows Firewalls on the client and server side are not configured to allow remote WMI management communication and the WMI and DCOM components will have to be manually configured. John Howard Senior Program Manager at Microsoft took 2,5 hours of his time and described in details how to fix this problem. Thanks to John I was able to get my communication up and running with my Hyper-V RC0 host server in less than 15 minutes. The netsh scripts didn’t work for me and I enabled the rules manually.

image

When trying to connect to one of my virtual machines I am prompt to enter my credentials. Use cmdkey /add servername /user:servername\user /pass to store the credentials. I tried this but my Lenovo Fingerprint software has some bugs and I get a lot of error messages; something to report to Lenovo… Anyway I am able to use the the Hyper-V mmc console from my Windows Vista client and I love it.

image