Major newbie here -

I have a simple form that I wish to align. My problem is that the alignment works in some IE6 browsers and not others. Ditto IE7. IE6 on XP Pro. IE7 on XP Pro and Vista. (Didn't work on Vista). I took the CSS from Rachel Andrew's book. Also the trick with wrapping the controls in <div>. Here's the style4.css:

form div {
  clear: left;
  margin: 0;
  padding: 0;
  padding-top: 0.6em;

form div label {
  float: left;
  width: 25%;
and here's the page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
    <title>Form Layout Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="style4.css" rel="stylesheet" type="text/css" /> 
    <div id="content">
       <p>Please provide the following information:</p>
      <form method="post" action="register.html">
          <label for="memberid">Member #:</label>
          <input type="text" name="memberid" id="memberid" />
          <label for="homezip">Home Zip Code:</label>
          <input type="text" name="homezip" id="homezip" />
          <label for="password1">Password:</label>
          <input type="password" name="password1" id="password1" />
          <label for="password2">Confirm Password:</label>
          <input type="password" name="password2" id="password2"  />
          <input type="submit" name="submitbtn" id="submitbtn" 
                 value = "Register" />
I know I must be missing something very basic, I just have no idea what it might be.

Any help would be greatly appreciated.