R4R
Right Place For Right Person TM
 
R4R CSS
R4R provide basic CSS Tutorials concept with CSS Examples . Through R4R you can develop CSS programming concept. R4R provide CSS Interview Questions with answers.R4R provide CSS Languages study materials in easy way.

CSS Tutorials

1.1    CSS Basic Tutorials
1.2    CSS Tutorials 21 days

CSS Interview Questions with Answers

2.1    CSS Subjective Questions with Answers
2.2    CSS Interview Questions with Answers
2.3    CSS Objective Questions And Answers
2.3    FAQS

What is CSS:

CSS is an acronym which means Cascading Style Sheets.A style sheet is made up of style rules that tell a browser how to present a document. As the name suggests, CSS is a special purpose stylesheet language and it helps in defining the format of presentation for any document that has been written in a markup language like the HTML. Mostly, CSS is used to define the presentation of HTML and XHTML documents. CSS gives great style to your web pages that are written in any markup language. CSS is a syntax used in the markup languages HTML and XHTML and has limited use in XML documents. HTML and XHTML are the programming languages most widely used and they are supported by most search engines. CSS is used in almost every aspect of today’s website designs.

History of CSS:

Since the beginning of style sheet usage in the 1970’s, it has evolved through wide-spread study and testing. It wasn’t until the mid 1990’s that CSS was introduced to the World Wide Web Consortium (W3C). At that time, W3C members became involved in its development, as well. In the late 1990’s, CSS was ready to go LIVE and in December 1996, the syntax became official .Even with the tremendous support from the W3C, Internet Explorer 3 was released in 1996 with very little support for the highly useful style sheet syntax .Three years later, Internet Explorer 5 was released and had a nearly 100% compatibility and support for CSS . As with any new internet language, however, bugs and inconsistencies were major obstacles .Introducing different variations of CSS , such as CSS1, CSS2 and CSS3, aided in weeding out the properties that browsers simply wouldn’t support. Creating a standard for CSS and browser compatibility was mandatory for a successful syntax and style tool. By using variations from all forms of CSS, CSS2.1 was created in late July 2007. By 2008, the latest and greatest version of Internet Explorer, IE8, allowed for full support of the CSS2.1 syntax in its highest quality ‘web standards’ mode.

There  are  Three Ways To Use CSS:

There are three ways to use Cascading Style Sheets: inline, embedded, and external/linked style sheets. I'll briefly explain each of them below.

Inline:

If you just want to apply formatting to a small piece of text you can use inline styles.
Syntax: "<h3 style="font-weight: bold">this will be bold  "


Embedded:
Embedded style sheets are put between the <head> </head> tags on every page that you want to use style sheets on. This is how they look like:
"<HEAD>
<STYLE TYPE="text/css">
<!-- "

"Tag: {Property: value; Property2: value2} "

"-->
</STYLE>
</HEAD> "

External:

Remember how I said that you can use a single style sheet site-wide, and then change all of your pages by editing one file? This is done with external style sheets, which look something like this:
"<HEAD>
<LINK REL="STYLESHEET" HREF="/PATH/SHEET.CSS TYPE="TEXT/CSS">
</HEAD> "

Note: The SHEET.CSS file would then contain all the style-sheet code which would be applied to any page that calls it using the code above.

This technique can save you a lot of work. If you, for example, would like to change the background color of a website with 100 pages, a style sheet can save you from having to manually change all 100 HTML documents. Using CSS, the change can be made in a few seconds just by changing one code in the central style sheet.

Working of CSS:

Every Cascading Style Sheet (whether it is contained in a .css file, or embedded in the head element of an HTML document) is a series of instructions called statements. A statement does two things:
1. it identifies the elements in an HTML document that it affects
2. it tells the browser how to draw these elements

By elements, I mean paragraphs, links, list items and so on. In technical HTML terms, an element is anything marked up inside HTML tags.
The part of a statement which identifies page elements is called a selector. Selectors select page elements.
The part of a statement which tells a browser how selected elements should be drawn is called the declaration. A declaration can contain any number of properties, the individual pieces of style to be applied to the selected element.

Advantage of CSS:

  1. Improved Search Engine Results
  2. Design Separated from Content
  3. Displayed on Various Media
  4. Compatibility with Browsers
  5. Superior styles to HTML

Disadvantage of CSS

  1. Inconsistent Browser Support
  2. Larger Initial time Commitment
  3. Some elements override each other, thus the page may not turn out as you expect it to.
  4. Depending on the size of the file, External CSS may increase load time.
  5. Bugs

 


Tolal:0 Click:
Show All Comments

Post Your Comments

Your Name:

Your Email ID :
Comments :
URL
  =* Enter SUM

New Updates

10:New Updates
Tutorials,examples and Interview Questions with answers
Posted By: Shashi     Posted Date:02.10.14

9:C# Tutorials,C# examples and C# Interview Questions with answers
R4R provide C# Tutorials,C# examples and C# Interview Questions with answers. Through R4R you can develop a small application and small programs.We cover C# Tutorials,C# examples and C# Interview Questions and answers for freshers as well experienced programmer.
Posted By: Shashi     Posted Date:11.17.13

8:Java/J2EE(Servlet,JSP,JNDI,Struts,Spring,Hibernate,EJB,JSF,JMS,Web-Services)
In this section R4R covers Java/J2EE(Servlet,JSP, JNDI, Struts, Spring, Hibernate, EJB,JSF,JMS,Web-Services) Tutorials with Examples.R4R provide Java/J2EE (Servlet,JSP, JNDI,Struts, Spring, Hibernate, EJB, JSF, JMS, Web-Services) Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.13.13

7:CoreJava Tutorials , CoreJava Examples and CoreJava Interview Questions with answers
In this section R4R covers CoreJava Tutorials with CoreJava Examples. R4R covers CoreJava programming concept in easy way. R4R provide CoreJava Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.04.13

6:Microsoft.net Technology ASP.NET,c# ,ADO.NET,WCF,WPF,Silverlight ,VB.net
R4R provides Microsoft Technologies(like ASP.NET,c# ,ADO.NET,WCF,WPF, Silverlight and VB.ne)Tutorials with Examples,programming concept and Interview Questions with answers study materials for freshers and experienced.
Posted By: Shashi     Posted Date:11.04.13

5:J2me Tutorials concept with Examples with Netbean IDE and J2ME Application Examples.
R4R cover basic J2me Tutorials concept with Examples and provide a way to develop J2me programming concept in easy way. R4R provide J2me Interview Questions with answers.R4R provide J2me Languages study materials with examples uing Netbean IDE and J2ME Application Examples.
Posted By: Shashi     Posted Date:10.30.13

4:J2me Tutorials concept with Examples ith netbean IDE and J2ME Application Examples.
R4R cover basic J2me Tutorials concept with Examples and provide a way to develop J2me programming concept in easy way. R4R provide J2me Interview Questions with answers.R4R provide J2me Languages study materials with examples uing Netbean IDE and J2ME Application Examples.
Posted By: Shashi     Posted Date:10.30.13

3:Java ebooks , Java tutorials , Java examples , Java interview questions and answers
R4R provides study materials for Java/j2EE technologies. R4R covers core java, advanced java, servlet, JSP, Struts, Spring, Hibernate, EJB, JSF, J2ME, ANT, JUnit and Some APIS .R4R also provides ebooks,tutorials,examples, interview questions and answers.
Posted By: Shashi     Posted Date:10.30.13

2:Learn basic C++ Tutorials with Examples , C++ Interview Questions with answers
R4R is a free E-learning website.You can learn basic C++ Tutorials with Examples , C++ Interview Questions with answers and also some hot topics.
Posted By: Shashi     Posted Date:10.30.13

1:C Tutorials with Example C subjective and objective interview questions and answers
R4R provide C Tutorials with Example and also provides C subjective and objective interview questions and answers.You can learn C in easy way.We cover basics of C here and give some examples.
Posted By: Shashi     Posted Date:10.30.13

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R