0

I have a little problem with IE, doctype and height 100%.

In fact, I have a page container with a height of 100% but I think my doctype line is bad it don't run on IE and only run on chrome etc. if I delete the doctype line. What is the good doctype for use this things?

I have test all the doctype possible, the problem can come of something other?

Thx

Uub
  • 135
  • 1
  • 8
  • I'm afraid your description is a little vague. Perhaps you could post the actual code of your project for review? – Sandy Gifford Jul 16 '12 at 07:41
  • Also, which version of IE do you have problems with? Behaviour of IE differs greatly between versions. – Mr Lister Jul 16 '12 at 07:49
  • I have a container who must take 100% of the height window. How can I do? On chrome, if I delete the doctype it run, but I don't want delete this line. So what is the good practice? (It's less vague?) – Uub Jul 16 '12 at 08:01
  • 1
    Consider editing your question to include the doctype code (you could have made a typo) CSS used and the HTML for the document you are having trouble with. Help us to help you :) – Kyle Jul 16 '12 at 09:43
  • Here's a simple and clear explanation of the DOCTYPE issue: http://stackoverflow.com/a/32215263/3597276 – Michael Benjamin Aug 25 '15 at 23:11

0 Answers0