11 Replies - 832 Views - Last Post: 23 June 2009 - 10:18 AM

#1 openinfinity   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 215
  • Joined: 25-March 09

Why does IE do the things it does

Post icon  Posted 23 June 2009 - 08:03 AM

why does IE screw up thes size of these boxes?

look fine in FF

why do I really need to do a lot of extra work to make it look right in IE WTF!

<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
<table border="0">

<tr><td>Username:</td>
<td>
<input type="text" name="username" size="10">
</td>
<tr><td>Password:</td><td>
<input type="password" name="pass" size="10">
</td>
<td colspan="2">
<input type="submit" name="submit" value="Login">
</td></tr>
</table>
</form>


even using IE 8 wouldn't 8 be w3 compliant now?

This post has been edited by openinfinity: 23 June 2009 - 08:04 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Why does IE do the things it does

#2 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 737
  • View blog
  • Posts: 8,648
  • Joined: 14-September 07

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:07 AM

In short it is Microsoft -

They never have been capable of standards compliance. What version of IE ?

Looks fine to me in IE8.
Was This Post Helpful? 0
  • +
  • -

#3 gregwhitworth   User is offline

  • Tired.
  • member icon

Reputation: 221
  • View blog
  • Posts: 1,613
  • Joined: 20-January 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:17 AM

I would be willing to design and develop if someone can sponsor the hosting and domain (DIC?), a site where you type in someone's email address and it emails them a "Did you know" newsletter that informs them of the fact that IE6 is not the latest browser as well as shows them FF and Chrome?

Anyone willing to sponsor that let me know.


============================================================

NOW ON TOPIC

Are you talking about the input boxes? Well, if you are, what is size really? In FF size="20" is the same as saying width: 149px. So, my guess is that all of the browsers have their own ideas of what size is but size should be the equivalent of 1 character. But there is a lot of gray room there.

But for your knowledge in FF at least:

size="1" == width: 21px

--

Greg

This post has been edited by gregwhitworth: 23 June 2009 - 08:26 AM

Was This Post Helpful? 0
  • +
  • -

#4 openinfinity   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 215
  • Joined: 25-March 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:35 AM

View PostNykc, on 23 Jun, 2009 - 07:07 AM, said:

In short it is Microsoft -

They never have been capable of standards compliance. What version of IE ?

Looks fine to me in IE8.


When I test in IE8 and 6 the user name field is slightly longer than the password field
Was This Post Helpful? 0
  • +
  • -

#5 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 737
  • View blog
  • Posts: 8,648
  • Joined: 14-September 07

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:40 AM

I can show you a screen in IE8. Everything looks fine.

As for IE6 - don't bother MS is dropping support, and IE6 now and days is like developing for Netscape Navigator 4 in 03. its obsolete.
Was This Post Helpful? 0
  • +
  • -

#6 openinfinity   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 215
  • Joined: 25-March 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:46 AM

I addded width but still have the same results

<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
<table border="0">

<tr><td>Username:</td><td>
<input type="text" name="username" size="10" width="210">
</td>
<tr><td>Password:</td><td>
<input type="password" name="pass" size="10" width="210">
</td>
<td colspan="2">
<input type="submit" name="submit" value="Login">
</td></tr>
</table>
</form>


I tried like this
<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
<table border="0">

<tr><td>Username:</td><td>
<input type="text" name="username" width="210">
</td>
<tr><td>Password:</td><td>
<input type="password" name="pass" width="210">
</td>
<td colspan="2">
<input type="submit" name="submit" value="Login">
</td></tr>
</table>
</form>


it just makes them longer but the username box is still longer

View PostNykc, on 23 Jun, 2009 - 07:40 AM, said:

I can show you a screen in IE8. Everything looks fine.

As for IE6 - don't bother MS is dropping support, and IE6 now and days is like developing for Netscape Navigator 4 in 03. its obsolete.



yea I know but everyone in my office still uses it because they won't let them upgrade yet because they have some systems that only work with ie6.

let me check on another computer this is xp ie 8
Was This Post Helpful? 0
  • +
  • -

#7 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 737
  • View blog
  • Posts: 8,648
  • Joined: 14-September 07

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:46 AM

IE8 screen

Posted Image

I am viewing in XP Pro SP3 - IE8 - Resolution is 1024 x 768

This post has been edited by Nykc: 23 June 2009 - 08:49 AM

Was This Post Helpful? 0
  • +
  • -

#8 openinfinity   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 215
  • Joined: 25-March 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 08:58 AM

I tested in windows 7 same results possible something
else in the code could be trowing it off but not sure what
Was This Post Helpful? 0
  • +
  • -

#9 openinfinity   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 215
  • Joined: 25-March 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 09:10 AM

I took everything else out and it worked so it's something else in my code

will have to investigate

thanks
Was This Post Helpful? 0
  • +
  • -

#10 gregwhitworth   User is offline

  • Tired.
  • member icon

Reputation: 221
  • View blog
  • Posts: 1,613
  • Joined: 20-January 09

Re: Why does IE do the things it does

Posted 23 June 2009 - 09:27 AM

Interesting - keep us posted. Switching to pixels didn't help?

--

Greg
Was This Post Helpful? 0
  • +
  • -

#11 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 737
  • View blog
  • Posts: 8,648
  • Joined: 14-September 07

Re: Why does IE do the things it does

Posted 23 June 2009 - 09:34 AM

Ok - we'll be here if you need us.
Was This Post Helpful? 0
  • +
  • -

#12 BetaWar   User is offline

  • #include "soul.h"
  • member icon

Reputation: 1513
  • View blog
  • Posts: 8,290
  • Joined: 07-September 06

Re: Why does IE do the things it does

Posted 23 June 2009 - 10:18 AM

Why not try using the min and max widths?

<input type="text" name="username" style="width: 210px; min-width: 210px; max-width: 210px">
</td>
<tr><td>Password:</td><td>
<input type="password" name="pass" style="width: 210px; min-width: 210px; max-width: 210px">


Looks right in IE 7 then, and I believe it should work in FF as well.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1