Strategy for Fixing Layout Bugs in IE6?

前端 未结 12 1821
别跟我提以往
别跟我提以往 2021-01-05 08:02

Generally, what\'s the best way to tackle a layout bug in IE6? What are the most common bugs or problems that one should look for when trying to figure out why your page sud

12条回答
  •  盖世英雄少女心
    2021-01-05 08:53

    I use Rafel Lima's Browser Selector when I need to tweak differences between IE/Standards browsers. It greatly reduces using "hacks" in your HTML to solve common problems.

    You can target CSS statements for different browsers, or even different versions of browsers (Hello IE 6). It's very simple to implement, but requires the user has JavaScript turned on (most do).

    .thing { ....}

    .ie .thing { ....}

    .ie6 .thing { ....}

提交回复
热议问题