CSS
On This Page:
Technical Articles | How Do I? Videos | Blogs
Technical Articles
Understanding CSS SelectorsThe basic building blocks of a Cascading Style Sheets (CSS) style sheet are its style rules. Selectors are used to "select" elements on an HTML page so that they can be styled. Without selectors, there would be no way to determine how the rules should be applied. This article introduces the fundamentals of CSS declaration syntax, to describe how selectors are used.
Managing Style SheetsDynamically changing Cascading Style Sheets (CSS) styles that are applied to documents is not limited to the inline styles (styles defined on HTML elements with the STYLE attribute). Global style sheets defined with a LINK or STYLE tag in the HEAD section of the document can be manipulated through script. Manipulating the global style sheet is a powerful way to dynamically change the styles that apply to Web pages.
Introduction to Dynamic StylesBecause the Dynamic HTML (DHTML) Document Object Model (DOM) makes every HTML element and attribute accessible, it is easy to use scripts to dynamically read and change styles. The following section describes dynamic styles and provides a general explanation of how to use the object model to examine and modify styles.
Debugging HTML and CSS with the Developer ToolsInternet Explorer 8 provides enhanced Developer Tools to help you research and resolve HTML-, Cascading Style Sheets (CSS)-, and Microsoft JScript-related problems. This article is focused on the HTML and CSS tools of the Developer Tools.
CSS Improvements in Internet Explorer 8Internet Explorer 8 is fully compliant with the Cascading Style Sheets (CSS), Level 2 Revision 1 (CSS2.1) specification and supports some features of CSS, Level 3 (CSS3). This topic is composed of a comprehensive list of the changes to CSS support in Internet Explorer 8.
Controlling Presentation with Measurement and Location PropertiesDynamic HTML (DHTML) exposes measurement and location properties that you can use to change the size and position of HTML elements on your Web pages. When you understand what these properties are and how they affect elements on a page, you can achieve greater control over the appearance of your Web pages.
Changing Element StylesThis document shows you how to change the SRC attribute on an iframe element so that the contents of iframe change on the fly.
About Element PositioningWindows Internet Explorer supports the ability to position HTML elements in x- and y-coordinates and to overlap elements in planes along the z-axis, which extends toward and away from the viewer in a Web document. These capabilities allow authors to precisely place elements, images, controls, or text on to a web page.
Back to Top
How Do I? Videos
Box-Sizing and Vertical TextIn this video, Matt Hester demonstrates Internet Explorer’s 8 implementation of box-sizing and vertical text from the W3C’s CSS3 working draft including the two box-sizing properties of content-box and border-box and the writing-mode for vertical text.
Back to Top
IE Team Blog Posts
Ending ExpressionsCSS expressions are no longer supported in IE8 standards mode. This post describes the feature and provides a few more details about that decision.
Back to Top