Posts

Showing posts with the label css file internal external css id class

Styling you page using Cascading style sheets.

Fourteen years ago(from today 2008) a guy called Håkon Wium Lie created the first version of Cascading style sheets for HTML and similar markup languages. The intention was to devide the strukture containing data and the semantics describing the layout of the data. Later this language has evolved and became a W3C standard. Now, this blogposts will describe a couple of ways to implement CSS to your web page. You are welcome to comment and ask questions. I will respond as well as I can. Now, in the previous bloggpost I described how to implement an external css file to your webpage. You can do this in three ways actually. Either in the header, in an external document linked in the header or you can add it to a specific element by using the style attribute. Below is given an example of the three. You may use one or more of the method, just remember that the last one read by the browser, is the one that will be executed. A browser starts reading documents from the top and down. That me...