Jump to content

Form elements degrading poorly in IE7


msaz87

Recommended Posts

Hey All,

 

I'm putting together a form and have run into an issue with the CSS as it degrade with IE7. The inputs/selects and labels don't line up. See the examples below for what I mean:

 

IE7:

heGRv.jpg

 

All other browsers (except IE6):

opg08.jpg

 

I can't figure out what in the CSS is causing the disruption... here's the relevant CSS:

form.form {
color:#515151 !important;
font-size:12px !important;
font-weight: normal;
}
form.form input.text {
width: 145px;
border: 1px solid #dfdede;
margin: 0 0 6px 0;
float: right;
}
form.form select {
width: 145px;
border: 1px solid #dfdede;
margin: 0 0 6px 0;
float: right;
}
form.form label {
width: 100px;
margin: 0 0 6px 0;
padding: 0 16px 0 0;
}

 

Any help is greatly appreciated -- thanks!

Link to comment
Share on other sites

hi,

 

Reset your styles, commonly referred as CSS Reset or Reset CSS is the process of resetting (or more accurately – setting) the styles of all elements to a baseline value so that you avoid cross-browser differences due to their built-in default style settings. By resetting your styles, you avoid defaulting to the browser’s built-in styles, which differs from browser to browser.

Link to comment
Share on other sites

hi,

 

Reset your styles, commonly referred as CSS Reset or Reset CSS is the process of resetting (or more accurately – setting) the styles of all elements to a baseline value so that you avoid cross-browser differences due to their built-in default style settings. By resetting your styles, you avoid defaulting to the browser’s built-in styles, which differs from browser to browser.

 

I tried adding a reset, but it doesn't look like it affected the appearance in IE7 whatsoever

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.