Archive for 'Cascading style sheets to the rescue' Category

Cascading style sheets to the rescue

By Steve Monas - Last updated: Tuesday, June 15, 2010

Cascading style sheets were a welcome relief to the web designers who were frustrated by the control over design provided by HTML. The style sheets for the first time allowed the designer to apply typographical styles and spacing instructions for elements on the page. The term cascading refers to a situation where several sources of [...]

Sample of linking

By Steve Monas - Last updated: Tuesday, June 15, 2010

<head> <link rel=”stylesheet” href=”/pathname/stylesheet.css” type=”text/css” /> </head>

Sample of importing

By Steve Monas - Last updated: Tuesday, June 15, 2010

<style> @import url(http://pathname/stylesheet.css); </style> Note: All @import statements must occur at the start of a style sheet. Any rules specified in a style sheet will override conflicting rules in an imported style sheet. In the event of conflicting rules in two or more imported @import statements, any conflicting rule in last @import statement listing the [...]