Jump to content

Layout issue in I.E, FF and Safari are fine


aXeR

Recommended Posts

Hey guys,

 

I've got an issue with the password strength bar since upgrading to v4. In Mozilla FF 3 and Safari 3.2.1 it loads correctly but in I.E 7 I get the following:

 

order.PNG

 

Any suggestions please?

Link to comment
Share on other sites

This is probably because there is not enough space for the entire password box to fit. This happened to me before. Try extending the template to see if it corrects it, and if it does, that is your problem. Otherwise I would guess it is a conflicting style tag with one you already have in place.

Link to comment
Share on other sites

  • 2 months later...

To resolve this edit /includes/pwstrength.js, and change:

 

function showStrengthBar() {
   document.write('<table align="center"><tr><td>Password Strength:</td><td width="102"><div id="pwstrengthpos" style="position:relative;float:left;width:0px;background-color:#33CC00;border:1px solid #000;border-right:0px;"> </div><div id="pwstrengthneg" style="position:relative;float:right;width:100px;background-color:#efefef;border:1px solid #000;border-left:0px;"> </div></td><td><div id="pwstrength">Weak</div></td></tr></table>');
}

 

to:

 

function showStrengthBar() {
   document.write('<table align="center"><tr><td>Password Strength:</td><td><div id="pwstrengthpos" style="position:relative;float:left;width:0px;background-color:#33CC00;border:1px solid #000;border-right:0px;"> </div><div id="pwstrengthneg" style="position:relative;float:right;width:100px;background-color:#efefef;border:1px solid #000;border-left:0px;"> </div></td><td><div id="pwstrength">Weak</div></td></tr></table>');
}

 

This just removes "width="102". I've only tested this in IE8 and IE6. Hopefully, it will work for other browsers, as well.

 

Sean

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated