Internet Explorer - CSS support in Internet Explorer 3
From PiRho Knowledgebase
Jump to navigationJump to search
While MSIE3 can claim support for CSS, there are bugs and limitations. Below you will find prioritized lists of missing functionality and bugs. Braden N. McDaniel has also published his list of holes.
Missing functionality
- em values (i.e. length units relative to a font size) are not supported. This is important in order to write style sheets that scale from one resolution to another.
- There is no documented way for users to supply their personal style sheets.
- 'margin' (the compound property) and 'margin-bottom' are not supported
- the 'padding' properties are not supported
- the 'border' properties are not supported
- pseudo-elements are not supported (but pseudo-classes are!)
Bugs
- The formatting model as implemented in beta 1 diverges from the specification. E.g., the left margins of the BODY and P elements do not add up (example).
- Margins do not collapse as described in the specification. Take a look at the Style Sheets resource page which has a style sheet attached. In order for all lists to be aligned, they are all within an explicit P element. In the case where the P element only has children elements (i.e. UL and LI), the margins belonging to the P element should be collapsed (i.e. take the maximum of) with 'margin-bottom' of the above element (H2) and 'margin-top' of the child element (UL). Since this is not the case (all margins seem to be added), the space between the H2 and the UL element becomes too large.
- 'font-family' declarations must be placed at the end of blocks; they seem to hide trailing declarations (example)
- You cannot set styles on implied tags. For example, if you don't include the BODY tag in your documents, style attached to the BODY element will not have any effect
- Line spacing (as shown in this example) is also added to the last line of a formatted element -- that's why there is so much space around the headlines. Spacing should only be added between lines.
vertical spacing sometimes act weird after lists. Consider the space between the end of the list and the horizontal rule in this example
- inline elements do not inherit the background of their parents correctly. Consider this example where the SPAN element inside the H1 takes the background of BODY, not H1.
- lines with links in them sometimes get extra space above them
Reference: [CSS support in MS IE 3.0]
Further Reading: [Endoframe: Support for Cascading Style Sheets, Level 1 in Microsoft Internet Explorer 3.0, Win32 version]