www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    Reply
     
    Thread Tools Rate Thread Display Modes
      #1  
    Old 02-01-2005, 07:47 AM
    Eric Melech's Avatar
    Eric Melech Eric Melech is offline
    Registered User
     
    Join Date: Feb 2005
    Posts: 10
    Unhappy Help! Page works in FF but not IE!

    Normally I wouldn't give a hoot about IE users, but as 90% of users suffer the internet instead of surfing it I need to make my site workable in their browser. I wrote and trouble-shooted it with Firefox but before uploading the page I looked at it in IE, and the forms don't work. Here's my code for index.htm:

    Code:
    <html>
    <head>
    <title>Bleakest Irony</title>
    <link rel="stylesheet" type="text/css" href="stylesheet.css" />
    <script language="JavaScript" src="form.js" type="text/javascript" />
    <meta name="robots" content="noindex, nofollow" />
    </head>
    <body>
    <table width="300" align="left" border="0" cellpadding="30" cellspacing="0">
    <tr><td>
    <form name="password1">
    <p>Username:
    <input type="text" name="username2" size="18"></p>
    <p>Passcode:
    <input type="password" name="password2" size="18"></p>
    <p><input type="button" value="Submit" onClick="submitentry()"></p>
    </form>
    </td></tr>
    </table>
    </body>
    </html>
    And here's my stylesheet:

    Code:
    body { background: url(mhs.png) 100% 100% fixed no-repeat;
    background-color: #001100;  }
    p	{ font-family: "Courier New", "Courier",
    "Monospace"; font-size: 12; color: #009900; text-align: center; }
    p:first-letter	{ font-weight: bold; }
    input	{ font-family: "Courier New", "Courier",
    "Monospace"; font-size: 12; color: #009900;
    background-color: #002200; border-color: #007700; }
    textarea{ font-family: "Courier New", "Courier",
    "Monospace"; font-size: 12; color: #009900;
    background-color: #002200; border-color: #007700; }
    I don't know where I went wrong. Can one of you l33t guruz help? I'd really appreciate it.

    EDIT: Changed code so it doesn't scroll off the page.
    __________________
    I have 49[/size][size=4] GMAIL invites left.
    PM me with your email address if you want 'em.


    Note: I only check my email about once or twice a day, so it may take a while for me to send the invite. Sorry!

    Last edited by Eric Melech; 02-02-2005 at 08:42 AM.
    Reply With Quote
      #2  
    Old 02-01-2005, 08:29 AM
    Fang's Avatar
    Fang Fang is offline
    Resistance is futile
     
    Join Date: Apr 2003
    Location: Netherlands
    Posts: 20,058
    ... so what doesn't work exactly?
    Reply With Quote
      #3  
    Old 02-01-2005, 08:41 AM
    Eric Melech's Avatar
    Eric Melech Eric Melech is offline
    Registered User
     
    Join Date: Feb 2005
    Posts: 10
    Quote:
    Originally posted by Fang
    ... so what doesn't work exactly?
    Quote:
    Originally posted by Eric Melech
    the forms don't work.
    Here it is in Firefox:
    http://img.photobucket.com/albums/v8...lech/ieff1.png

    And here in IE:
    http://img.photobucket.com/albums/v8...lech/ieff2.png

    Oh, and the title and the png in the corner? Those are just placeholders until I actually upload the page.. which won't happen unless it's fixed because I refuse to shove something on the 'net that doesn't work.

    Edit: Ooops! I forgot to blurr out the naughty words in my images before uploading and posting! My apologies; please ignore. Thanks....

    Last edited by Eric Melech; 02-01-2005 at 08:47 AM.
    Reply With Quote
      #4  
    Old 02-01-2005, 09:11 AM
    soccer362001's Avatar
    soccer362001 soccer362001 is offline
    CSS Master
     
    Join Date: Mar 2003
    Location: The Lone Star State
    Posts: 1,171
    I can't see anything that would cause a problem. Can you upload the actuall page?
    __________________
    "If at first you do suceed, try not to look astonished."
    I have 50 gmail invitations at my disposal, if you want one pm me with your First and Last name and your email address
    HTTPGuru
    Reply With Quote
      #5  
    Old 02-01-2005, 09:31 AM
    NogDog's Avatar
    NogDog NogDog is online now
    High Energy Magic Dept.
     
    Join Date: Aug 2004
    Location: Ankh-Morpork
    Posts: 14,726
    Adding a doctype at the top of the HTML would be a good thing - looks like you want a XHTML type?

    "font-size: 12" is invalid - you need a unit after the number (px, pt, %, etc.).
    __________________
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    Kindle Minds (blog about Amazon Kindle)
    Reply With Quote
      #6  
    Old 02-02-2005, 08:21 AM
    Eric Melech's Avatar
    Eric Melech Eric Melech is offline
    Registered User
     
    Join Date: Feb 2005
    Posts: 10
    Quote:
    Originally posted by soccer362001
    I can't see anything that would cause a problem. Can you upload the actual page?
    I've been looking for a free webpage service with only 1-5 megs, no forced ads (or ads at all), okay monthly bandwidth (200mb would be more than plenty), and fairly reliable uptime, but have been unsuccessful...

    Quote:
    Originally posted by NogDog
    Adding a doctype at the top of the HTML would be a good thing - looks like you want a XHTML type?
    I was thinking of adding a DOCTYPE, but I wanted my site as tiny as possible and figured that it would only be clutter. I'll try it though.

    Quote:
    Originally posted by NogDog
    "font-size: 12" is invalid - you need a unit after the number (px, pt, %, etc.).
    Whoops...

    EDIT: Just changed the font sizes and added doctypes but it still doesn't work in IE. I am totally stumped. I even tried killing the tables. Nothing.

    I guess it's time for my friends to start using a browser that isn't seven years out of date, even if it means I gotta drive to their houses and install it by hand.

    Last edited by Eric Melech; 02-02-2005 at 08:29 AM.
    Reply With Quote
      #7  
    Old 02-02-2005, 09:34 AM
    Fang's Avatar
    Fang Fang is offline
    Resistance is futile
     
    Join Date: Apr 2003
    Location: Netherlands
    Posts: 20,058
    Change this: <script language="JavaScript" src="form.js" type="text/javascript" />

    to: <script type="text/javascript" src="form.js"></script>
    Reply With Quote
      #8  
    Old 02-02-2005, 09:51 AM
    Eric Melech's Avatar
    Eric Melech Eric Melech is offline
    Registered User
     
    Join Date: Feb 2005
    Posts: 10
    Fang.. I love and hate you. I love and hate you. I feel like kissing and kicking you.

    Let it be declared.. Fang is a genius! All hail Fang!
    Reply With Quote
      #9  
    Old 02-02-2005, 10:45 AM
    Fang's Avatar
    Fang Fang is offline
    Resistance is futile
     
    Join Date: Apr 2003
    Location: Netherlands
    Posts: 20,058
    Validate your documents.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:06 PM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.