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

Java Script

What is Java Script ? It's an programming language which is used make the web page more interactive and stylish. Also its runs free on the users computer and it doesn't require any plugins to download for the users, and their many number java script which the user or a web designer can include for the web page. Mostly java scripts are used for polls and quiz. Today most browsers like safari, Internet Explorer and Firefox have in built java script plug in so when a user the enters to an page the java script will automatically runs for following page. Also java script used in outside the web pages like in pdf files browsers and desktop widgets and today the newest VMs java script has been included for the browsers and other desktop applications. History Java script was developed by Brendan Eich of Netscape and it was called has Mocha, and after that it was named has Live script and then to java script. And the Live script was the first shipped in beta version...

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...