View Full Version : IE textbox display problem, works in other browsers

05-31-2007, 11:56 PM
First the backstory.

I just got a job as the webmaster for a company, right at the same time they upgraded their software. Because of the new software change I am updating the website to use the new shopping carts and such.

To make a long story a little bit longer this website is really badly constructed, quite a bit of the site (like shopping carts) are restricted so I cannot modify them, and we are forced to do things like load CSS that is on their servers and we cannot modify (which if you run validation has about 600 warnings in it). To top it all off when I suggested the company let me get rid of tables and replace the formatting of the website with CSS they said no, its not an efficient use of my time. I have managed to get the site working decently well with what I have with the exception of this one page which has me stumped.

The webpage in question is still up on our staging server and you can get to it here: https://staging.thecampushub.com/redesign7/account_login.asp

The problem I am having with this is if you view the page in Firefox, Safari, Opera, etc. the page looks exactly like it should. If you view the page in IE it does not look like it should. I was hoping someone would be able to direct me to some answers.

Also feel free to poke around the site and offer tips and suggestoins.

06-01-2007, 12:19 AM
Put background colors on those elements and see why they might be the way they are. Can you add anything to the document? If you can I would add this

<!--[if lte IE 6]>
<style type="text/css">
#account-login-email {
#account-login-password {
That fixes the issue in IE6. IE7 doesn't seem to have the issue. That would have to go after all of your other styles.

06-01-2007, 12:35 AM
Looking at the code, I noticed that there was a <link> outside the head. That may be causing some problems. Don't know if you've tried, but attempting to validate the code (with the style sheet reference inside the head) returns 363 errors. Seems to me the site needs a redesign - without using tables for layout.

06-01-2007, 06:05 PM
Thank Areo that did the trick!

Zach, I agree the site needs a resdesign, some day perhaps I can convince my boss of that too.

06-01-2007, 11:01 PM
Looking at the code, I noticed that there was a <link> outside the head. That may be causing some problems.
Not just is it placed outside the head section. It is placed before the document type declaration.

This is causing the page to be rendered in quirks mode (http://www.quirksmode.org/css/quirksmode.html)!