Weird Behavior from IE8 with text boxes in div

Developing this page:

https://physicianspark.pdswebpro.com/contact.aspx


When I go to this page in any browser other than IE8, including IE7, it builds fine.  In IE8 the contact us form ends at the bottom of what is the backgound image of the "ContentBox" DIV.  I originally didn;t have the height attrib set but I have since tried 100% and auto.  Aybody know what I am missing?

My IE8 is version 8.0.6001.18702

Thanks
LVL 4
bcolladayAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveZzCommented:
Never tried this before but placing this tag in your header should make the page emulate IE7 so that it should look ok.  Hope it works.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Open in new window

0
Dave BaldwinFixer of ProblemsCommented:
It looks the same in Firefox and IE8 to me.  You do have some issues with your DOCTYPE declaration.  It mixes two different ones and that may cause some problems because browsers do use that to figure out how to display things.  And 'id' is not a valid attribute for <head> and <meta> tags.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bcolladayAuthor Commented:
Thanks,

I will do this as a last resort.  But the IE8 rendering is better(closer to firefox and chrome) for the other elements.  So I would rather see if there is a css setting, that won't screw the other browsers in the process, that will fix this.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

bcolladayAuthor Commented:
Dave, which doctype declaration would you recommend?  the id attribute is for some CMS stuff I am doing to dynamically assign some metadata.
0
bcolladayAuthor Commented:
I fixed my doc type and it fixed it for me.  Thanks
0
Dave BaldwinFixer of ProblemsCommented:
Here is the list of accepted DOCTYPEs http://www.w3.org/QA/2002/04/valid-dtd-list.html .  Note that only the XHTML DOCTYPE adds something to the <html> tag.  I normally use the HTML 4.01 Transitional DOCTYPE because it is easier to work with.  The strict DOCTYPES add some behavior that I am too lazy to deal with.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.