HI
i have a very important problem with my site .it shows very bad in ie and I don't know why ? i defined static width for the contents and tables but I dont know what is the problem ?

by the way , it shows very good in othe browsers like firefox and opera .

this is the address , please help me...............

, it is not in english

thanks

Dani AI

Generated

- layout problems that appear only in Internet Explorer are usually down to one of three things: the page is rendering in quirks/compatibility mode (bad or missing DOCTYPE), invalid HTML (unclosed tags or stray elements), or CSS that makes element widths/padding/borders exceed their container. is right to ask for the container HTML/CSS, and 's validation suggestion is useful — validators often catch the single stray tag that breaks IE.

Try these steps, one change at a time:

  1. Verify the DOCTYPE and the Document Mode in IE (press F12). A wrong or missing DOCTYPE often forces quirks mode. See MDN on DOCTYPE and modes: Doctype.
  2. Validate and fix HTML/CSS errors.
  3. Isolate the bug: build a minimal test page with only the DOCTYPE, head/meta, the outer container, and the table. If it renders correctly there, the issue is interaction with other rules.
  4. Use IE dev tools to inspect computed widths, applied rules and floats. Look for width + padding + border that exceed the container; try box-sizing: border-box while testing.
  5. As a quick trial, remove external styles or apply a tiny reset/clearfix to rule out defaults and un-cleared floats.

Quick snippets to try in your test page:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

html, body {
  margin: 0;
  padding: 0;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

If the table still breaks, post a minimal reproducible snippet (full DOCTYPE, head/meta, the container HTML and the CSS that affects it) and list which IE version(s) you tested. Conditional comments can patch older IE (up through IE9), but prefer isolated fixes or feature-based fallbacks for longer-term compatibility.

Recommended Answers

All 2 Replies

What is your code? Post your code here. We don't know what the problem is without seeing some codes. Also, IE have some problems with using percentage values.

Validate your website with validator.w3.org and fix all the errors reported .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.