Skip to main content

Cascading Styling Sheets

What is Cascading Styling Sheets ?

CSS used to describe the presentation of a document which is written in markup language.It is most common to use styling the web pages which is written in html or xhtml also the language can applied for the any kind of xml document. CSS was designed to separate the content which is written in html or any other similar markup language document type presentation including element such has layout, colors and fonts.

Also this separation can improve contents and flexible and enable to control 2 multiple pages to share the formatting. Also the css can allow markup language to present in another stylish way. Also the reader's can use different kinds of styling sheets on their own computer.   

History of the CSS 

CSS was developed in 1970 and it was called has SGML. CSS was developed to provide stylish information on a web page. When the html grew the css came with many number of feature's to give an demand for the web developer's. This gave a great chance to the designer's but the cost of the html becoming more complex and difficult writing and hard to maintain. 

Robert Cailliau who did the separation and also this ideal give to the users those are one for printing and other is to present a presentation on the screen and the final one is the editor feature. To improve web their are nine kinds of styles sheet language were introduced to the world wide web. Of this nine styles two were chosen as the foundation of what become CSS. Also in 1994  Bert boss was working on a browser called agro which is developed style sheets which was called has SSP. The H was removed because of the style sheet could be applied other markup language also.


Real life usage


We can center the box easily without typing left or right to the align. Here is sample css code which shows you how to center a box in css using dl links.

dl#links {
    font: 12px/16px verdana, arial, helvetica,
          sans-serif;
    width: 230px;
    margin: 2em auto; /* This is what centers the
                         box the first value is for
                         the top and bottom margin
                         the second value (auto)
                         splits the difference between
                         the right and left margins */
}

Also in ccs there's framework called CSS Scaffold it will allows to write dynamic css styles that are processed by PHP and served as standard css. Also there are things that we an include those are: expression, nested style sheets and variables.Also we can do can do different kinds of styling in css and create stylish web pages.

Browser Compatibility


In Firefox
we can change the highlighted text using css and changing the opacity of the element. Also we can control the item selection of the element. And also their are more things like rounding the corners of underline and many more. 

Internet Explorer 7
Most of the css were hard to improve because most of the css were hacked and were hidden but their nice things added in internet explorer 7. but in other versions css worked fine, but today using css we can put bugs for appearing colors and elements like underline and many others. 

Advantages of CCS

  • we can change the layout in different styles
  • it can separate styles in any way which we what
  • easy and quick able to use
  • align the paragraph without typing left or right command 

Disadvantages of CSS  

  • we have to take soo many times to understand the framework
  • we might inherit some bugs or mistakes
  • we developed sites upon frame work not having the solid knowledge of css
  • sometimes we will get bloated codes
  • css cannot framed semantically 

Comments

Popular posts from this blog

Evolution of Internet

The History of the Internet Evolution In 1969 the American Defense Ministry invented the internet and it’s called has ARAnet. It was made for military research for the American army. And the network had many difficulties such as it had to be fast, reliable, and it has to be capable of withstanding a nuclear bomb destroying. And this network evolved into sprawling networks of millions of computers we know today as the internet. The following image shows you how internet was used at that time. Evolution of the Internet The internet is massive network and which you can connect to the other networks. Also it’s a collection of providers which is called (ISP). ISPs operate their own network and also with their own clients to agree to interconnect which each other to exchange packets. And also larger ISPs cell connect their network to smaller ISPs also. Also the ISPs cell connects to the individuals and corpor

Hypertext Markup Language

What is Hypertext? It’s computer language which allows to create websites. Also that website can view by anyone who is connected to the internet. And it’s easy to learn with the basic and also it’s quite powerful which the user can create different styles of websites. W3C is the organization which design and develop the hypertext language. Also hypertext is which we move around the web by clicking the hyperlink which is linked to another page. Also it has code words like any other language.  History and Evolution In 1941 Jorge Luis who developed the hypertext style novel. Also in 1945 hypertext was made by Vannevar Bush and he called it has a Memex. Also he develops a microfilm system to index the info to the links which we are using today. In 1963 Ted Nelson joined hypertext and hypermedia to a linked content. And later he worked with Andries van Dam to develop the hypertext editing system. In 1968 Engelbart pub