[TYPO3] Problem with (new) CSS styled content default CSS and IE

Christopher bedlamhotel at gmail.com
Wed Mar 15 22:38:47 CET 2006


Hi,

On 3/15/06, Gerhard Mehsel <sparking at gmx.net> wrote:
> Hello,

<snip>

> I thought that I'm not the only person who has problems with IE and the
> CCS_styled_content with div's inside div's and sometimes it's possible
> to find a workaround for IE.
> That's what I'm looking for instead of debugging CSS for hours ... :-(

Happy searching ;-)

> BTW: The page and CSS are valid XHTML 1.0 Trans with correct doctype and
> whatever.

That'll help.

> How can I see that IE is in quirks mode?

Stick this in the head section of your page:

<script type="text/javascript">
  function quirksTester() {
    var mode = document.compatMode;
    var msg;

    if (mode) {
      switch (mode) {
        case 'BackCompat':
          msg = 'Quirks mode!';
        break;

        case 'CSS1Compat':
          msg = 'Standards mode!';
        break;

        default:
          msg = '';
      }
      alert(msg);
    }
  }

  window.onload = quirksTester;
</script>


-Christopher



More information about the TYPO3-english mailing list