School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,380 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,532 people online right now. Registration is fast and FREE... Join Now!




Why does IE do the things it does

 

Why does IE do the things it does

openinfinity

23 Jun, 2009 - 07:03 AM
Post #1

D.I.C Head
**

Joined: 25 Mar, 2009
Posts: 73



Thanked: 1 times
My Contributions
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!

CODE
<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 Jun, 2009 - 07:04 AM

User is offlineProfile CardPM
+Quote Post


Nykc

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:07 AM
Post #2

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
In short it is Microsoft -

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

Looks fine to me in IE8.
User is offlineProfile CardPM
+Quote Post

gregwhitworth

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:17 AM
Post #3

(this).problem + "sucks";
Group Icon

Joined: 20 Jan, 2009
Posts: 1,131



Thanked: 82 times
Dream Kudos: 50
Expert In: HTML, CSS, Web Design

My Contributions
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 Jun, 2009 - 07:26 AM
User is offlineProfile CardPM
+Quote Post

openinfinity

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:35 AM
Post #4

D.I.C Head
**

Joined: 25 Mar, 2009
Posts: 73



Thanked: 1 times
My Contributions
QUOTE(Nykc @ 23 Jun, 2009 - 07: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.


When I test in IE8 and 6 the user name field is slightly longer than the password field

User is offlineProfile CardPM
+Quote Post

Nykc

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:40 AM
Post #5

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
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.
User is offlineProfile CardPM
+Quote Post

openinfinity

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:46 AM
Post #6

D.I.C Head
**

Joined: 25 Mar, 2009
Posts: 73



Thanked: 1 times
My Contributions
I addded width but still have the same results

CODE
<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
CODE
<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

QUOTE(Nykc @ 23 Jun, 2009 - 07: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.



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
User is offlineProfile CardPM
+Quote Post

Nykc

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:46 AM
Post #7

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
IE8 screen

IPB Image

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

This post has been edited by Nykc: 23 Jun, 2009 - 07:49 AM
User is offlineProfile CardPM
+Quote Post

openinfinity

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 07:58 AM
Post #8

D.I.C Head
**

Joined: 25 Mar, 2009
Posts: 73



Thanked: 1 times
My Contributions
I tested in windows 7 same results possible something
else in the code could be trowing it off but not sure what
User is offlineProfile CardPM
+Quote Post

openinfinity

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 08:10 AM
Post #9

D.I.C Head
**

Joined: 25 Mar, 2009
Posts: 73



Thanked: 1 times
My Contributions
I took everything else out and it worked so it's something else in my code

will have to investigate

thanks


User is offlineProfile CardPM
+Quote Post

gregwhitworth

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 08:27 AM
Post #10

(this).problem + "sucks";
Group Icon

Joined: 20 Jan, 2009
Posts: 1,131



Thanked: 82 times
Dream Kudos: 50
Expert In: HTML, CSS, Web Design

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

--

Greg
User is offlineProfile CardPM
+Quote Post

Nykc

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 08:34 AM
Post #11

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
Ok - we'll be here if you need us.
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: Why Does IE Do The Things It Does

23 Jun, 2009 - 09:18 AM
Post #12

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
Why not try using the min and max widths?

CODE
<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.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 09:30PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month