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

HTML 5

History of HTML? The Hyper text markup language was begun in 1980 . Tim Berners Lee who invented a protyped which is called ENQUIRE which was used to share documents. Also in 1989 he write a memo which was based on hypertext markup language system. And he write both about the browser and server softwares in past 1990’s. The first HTML was called as “HTML Tag” it was mentioned in the 1991 and it describe the 20 element of comprising and a design of hypertext markup language.   HTML is markup language which web browser’s use to compose text and images or other pages visual or audible web pages. In default level every HTML markup are defined in the browser. Also these characteristic can be enhanced by the web page so many designer’s us CSS.  Also many of the text element found in 1988 which turn covers features of early HTML formatting language which was used for RUNOFF command which was developed in the 1990’s. Berners Lee considered the HTML as an applica...

HTML Forms

What is HTML Forms ? It allows the users to enter the data which is sent to server for processing. Web forms are resemble paper or database because the users are filling the forms using check box, radio buttons and text fields. Mostly web forms are used for filling forms, credit card details or shipping. Also their are many different types of forms in the internet with different kinds of styles. These web forms can used for inquiry and search bar for websites. Also we can make web forms using different programming languages those are HTML, Perl, PHP, Java, Java script or Net and it automatically adds themes, grids and minimum programming language also it's costs and risk able. Her is a sample for an PHP form < html > < body > < form action = "form_handler.php" method = "get" > User Name: < input name = "user" type = "text" / > < input type = "submit" / > < / form > ...

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