| rich_b |
|
NetHosted Customer
Joined: 15 Mar 2005 Posts: 98
|
Posted: Sun Aug 20, 2006 9:28 pm Post subject: Differently sized text boxes problem |
| |
If you look at http://www.reactioninternational.org/ you'll see that the username and password boxes on the top right are different widths even though I have specified them as the same size (15). Here's the code:
| Code: | <table>
<tr>
<td>Username</td><td><input type="text" name="username" value="" maxlength="32" class="input" size="15" /></td>
</tr>
<tr>
<td>Password</td><td><input type="password" name="password" value="" maxlength="32" class="input" size="15" /></td>
</tr>
<tr> | This is driving me nuts as I'd like to have them the exact same width which might be picky but I'll die an unhappy man if I don't fix it. Any ideas anyone? |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Sun Aug 20, 2006 9:31 pm Post subject: |
| |
They are the exact same size for me in Camino and Safari!
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Mike T |
|
Community Liason

Joined: 26 Apr 2004 Posts: 453 Location: Loughborough
|
Posted: Sun Aug 20, 2006 9:37 pm Post subject: |
| |
Exact same size for me aswell... But if you want to specify the exact pixel size to be sure...
| Code: |
<input style="width: 100px" type="....
|
|
|
| Back to top |
|
| rich_b |
|
NetHosted Customer
Joined: 15 Mar 2005 Posts: 98
|
Posted: Mon Aug 21, 2006 6:19 am Post subject: |
| |
| NetHosted - Andrew wrote: | | They are the exact same size for me in Camino and Safari!Andrew | Ah yes, I should have mentioned that it works fine in Firefox but not IE. Thanks for testing!
| Mike T wrote: | | Exact same size for me aswell... But if you want to specify the exact pixel size to be sure... | Thanks for the suggestion - I'll do that. |
|
| Back to top |
|
| petethegeek |
|
NetHosted Customer

Joined: 14 Feb 2005 Posts: 192 Location: Worcester
|
Posted: Mon Aug 21, 2006 7:14 am Post subject: |
| |
| rich_b wrote: | | NetHosted - Andrew wrote: | | They are the exact same size for me in Camino and Safari!Andrew | Ah yes, I should have mentioned that it works fine in Firefox but not IE. Thanks for testing!
| Mike T wrote: | | Exact same size for me aswell... But if you want to specify the exact pixel size to be sure... | Thanks for the suggestion - I'll do that. |
...or use ems if you want to specify the width proportionally rather than absolutely.
Interestingly(?!) putting just the snippet you posted into a minimal html container file seems to give the same width on both IE6 as well as FF. Looks like a rendering 'oddity' in IE6, incredible as that might seem.
Regards
Pete _________________ "I have made this letter long, only because I lacked the time to make it short." - Blaise Pascal 1657 |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Mon Aug 21, 2006 9:18 am Post subject: |
| |
| petethegeek wrote: | | Looks like a rendering 'oddity' in IE6, incredible as that might seem. |
*grins*
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Mike T |
|
Community Liason

Joined: 26 Apr 2004 Posts: 453 Location: Loughborough
|
Posted: Mon Aug 21, 2006 9:35 am Post subject: |
| |
yeah.. IE isn't exactly know for its lack of quirks
did it work on IE7? |
|
| Back to top |
|
| rhinoian |
|
Community Liason

Joined: 25 Nov 2004 Posts: 631 Location: Manchester
|
Posted: Mon Aug 21, 2006 12:10 pm Post subject: |
| |
IE6 has a special "quirks" mode, specially for transitional HTML. Has anyone tried IE7 and what is it like? I keep meaning to give it a go.
Ian _________________ Hard to find and premium pet products at Pennine Vets  |
|
| Back to top |
|
| Mike T |
|
Community Liason

Joined: 26 Apr 2004 Posts: 453 Location: Loughborough
|
Posted: Mon Aug 21, 2006 12:36 pm Post subject: |
| |
If I recall all modern browers have a quirks mode for undeclared DOCTYPEs, Gecko/Trident/KHTML all included (Firefox, IE and Safari/Konqueror respectively), not sure about Opera. The problem with that is each one is different so you're unlikely to get a site working exactly the same across all engines if you're using quirks.
I have IE7+ here on my laptop (it comes preinstalled with Vista). After a couple of days of using it I decided I'd had enough and installed Firefox 2 Beta.
It has slow and buggy Ajax/Javascript support, which was my main problem. A lot of the incompatabilities and bugs of IE6 are fixed but it's still far behind Firefox and even Opera as far as standards are concerned. Still lacks on the CSS support, CSS3 is a joke even on IE7.  |
|
| Back to top |
|
User Permissions |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |