Do you like to switch your career? Here’s our recommendation on the important things to need to prepare for the job interview to achieve your career goals in an easy way. Css3 is the another version of CSS where the latest upgrades related to colors, backgrounds and other are implemented. CSS3 is supported by almost all browsers as it enhanced its capabilities, while CSS is limited to fewer. Candidate should have good command on all functionalities to be done. There is huge demand for jobs related to Css3. One can check the availability of the job across cities including Mumbai, Delhi, Bangalore, Pune and Hyderabad. Follow Gradjobopenings website for Css3 job interview questions and answers page to get through your job interview successfully.

Question 1. What Is Wrapping In Css3?
Answer :
Wrapping is a vital property for proper display of contents in web pages. If wrapping is disabled then the user could not display and view long lines that goes outside the window boundary and thus become useless.

Question 2. What Is The Syntax Of Opacity In Css3?
Answer :
Firefox uses the property opacity:x for transparency, while IE uses filter:alpha (opacity=x).

Question 3. How Do You Manage The Complete Site In Center Of The Browser, Which Is Completely Using Divs Using The Help Of Css2 Or Css3?
Answer :
In CSS file
1. body{width:100%;}
2. Create a div tag and assign a class, say ‘container’ and place all your content in this div tag.
3. Assign properties to this class in CSS file
container{width:777px; margin:auto;}

Question 4. How Is Multi-column Feature Used In Css3?
Answer :
By using the Multi-Column feature of CSS3 the web designers can get their output in multiple columns with definitions defined for each column like column-width, column-count.

Question 5. What Is The Syntax Of Word Wrap In Css3?
Answer :
The general syntax word-wrap property of CSS3 is as follows:
word-wrap: normal| break-word
The default initial value is normal in the above syntax.

Question 6. How Flexibility Is Achieved More In Css3?
Answer :
Flexibility achieved is in greater ratio in CSS3 because of the feature of handling multiple style sheets in CSS3 and because of the modularized approach of CSS3.

Question 7. What Are The Values That Can Be Taken By Property White-space Of Css3?
Answer :
The five values that can be taken by property white-space of CSS3 are normal, pre, no wrap, pre-wrap and pre-line.

Question 8. What Are Cascading Style Sheets?
Answer :
Cascading style sheets help the designer in various ways. It primarily helps to design style sheets for content and HTML pages. It can be applied to any XML document or markup language.

Question 9. Explain About Some Of The Features Of Css?
Answer :
Some of the features used by CSS are to define a layout, colors, fonts, etc. It separates the content from the design part which makes the content much more visible thereby improving productivity of the entire process. It can make the same page appear in different formats.

Question 10. Explain About The Rules Present In Style Sheets?
Answer :
A huge list of rules is defined for style sheets. Each rule consists of selectors and declaration block. A declaration block consists of declarations which can be defined and separated by using a semicolon within curly braces. Also each declaration consists of a colon, a property and a semicolon.

Question 11. Explain About The Hover Element?
Answer :
A hover element is activated when the user moves a pointer over the area where HTML coding is defined. This style is being extensively used for online advertising. It is appended to #elementid:hover.

Question 12. State Some Of The Uses Of Css?
Answer :
CSS offers many possibilities to a designer and developer. Some of them are
1) Moving of the entire style sheet coding to a separate external folder.
2) Repetition and code reuse features make CSS rich.
3) Presentation and structure are made different by CSS etc.

Question 13. State The Different Type Of Author Styles?
Answer :
A web page author, developer, designer, etc can describe styles in three different forms they are
1) External style sheets
2) Embedded style
3) Inline styles
4) Local and default style sheet.
A default style sheet consists of the style imparted by the browser which the user is accessing for the information.

Question 14. What Are The Main Goals Of Applying Style Sheets?
Answer :
The main use of style sheet is to give the user a greater degree of control over his presentation. If the user does not like a certain font he can change it with flexibility without any difficulty.
Also a developer can minimize the effects which a browser can have on the application or the text part of the webpage.
Control over the entire web page without any external influences, separation of the page from the HTML code part.

Question 15. Explain About Css1?
Answer :
W3C recommended adoption of CSS1in 1996. Some of the capabilities and features present in CSS1 are as follows.
1) Font properties
2) Background colors, text colors, etc
3) Spacing between text, words, etc
4) Tables, images alignment
5) Border, margin, padding and positioning of elements
6) Attributes are uniquely identified and classified generically.

Question 16. What Are The Additional Features Which Were Present In Css2 Compared To Css1?
Answer :
Many of the new features were present in CSS2 some of them are as follows.
1) Positioning of elements will be according to the relative, fixed and the absolute positioning.
2) Inclusion of large number of media functions.
3) Shadows, bidirectional support for text and aural style sheets.

Question 17. Explain About Css Filter?
Answer :
CSS filter solves designers and coders difficulties. With the help of these filters one can write entirely different code or modify the existing design patterns so that browsers receive CSS specifications which they support, thereby not allowing the browsers to make or create any unnecessary changes.

Question 18. Explain About Internet Explorer Box Model Bug?
Answer :
Designers had a very tough time dealing with this bug, because it will not display box widths appropriately on the webpage. It displayed the block to be narrow in size. This bug can be rectified by using CSS filter and hacks. Also correct usage and documentation of XHTML can solve the problems.

Question 19. Explain About Vertical Control Limitation?
Answer :
Vertical control limitations are always a nightmare for a designer. Horizontal positioning of text or element is always easy but vertically positioning an element always leads to convoluted and impossible tasks. CSS has unsupported rules for vertical placement of elements.

Question 20. Explain About Absence Of Expressions?
Answer :
CSS currently does not have the ability to specify property values as simple expressions. For example if you want to calculate the size of all the columns but you have a restriction on the sum of all columns. This problem has been solved by many browsers by proprietary expressions which did the job well.

Question 21. Explain About Lack Of Orthogonality?
Answer :
Lack of orthogonality explains about the various multiple jobs which are either undefined correctly for a specific application or used multiple times for the same job. CSS defines that internal elements of a table will not have margins so usage of border spacing is appropriate which leads to confusion.

Question 22. Explain About The Ease Of Maintenance With Css.
Answer :
An effective style sheet has effective use of inheritance and cascading style sheets. When changes are applied to a single element of this global style sheet every element of the web page changes. This made the maintenance easy because here we can change the style of the whole page by effecting a change to a single element.

Question 23. Explain About Float Containment?
Answer :
CSS does not support float elements as it can cause overflow of the elements. Floats also tend to vary according to the web browser resolution and size but positions do not. There are some multiple properties which can define about float but they have their own limitations.

Question 24. State Some Limitations Of Style Sheets?
Answer :
Style sheets do have its own share of limitations some of them are as follows: –
1) Inconsistent browser support
2) Vertical control limitations
3) Margin collapsing, float containment, control of element shapes, etc
4) Lack of column declaration and variables are some of the limitations present in CSS.

Question 25. What Is Id Selector?
Answer :
ID selector is an individually identified (named) selector to which a specific style is declared. Using the ID atthbute the declared style can then be associated with one and only one HTML element per document as to differentiate it from all other elements ID selectors are created by a character# followed by the selectors name. The name can contain characters a-z. A-Z. digits 0-9. period. hyphen. escaped characters, Unicode characters 161 -255. as well as any Unicode character as a numeric code, however they cannot start with a dash or a digit.
#abc 123 {color red: background: black)
This and only this element can be identified as abcl23

Question 26. What Is Css Rule ‘ruleset’?
Answer :
There are two types of CSS rules: ruleset and at-rule. Ruleset identifies selector or selectors and declares style which is to be attached to that selector or selectors. For example P {text-indent: 10pt) is a CSS rule. CSS rulesets consist of two parts: selector e.g. P and declaration. e.g. {text-indent: 10pt)
P {text-indent: 10pt) – CSS rule (ruleset)
{text-indent: 10pt) – CSS declaration
text-indent – CSS property
10pt-CSS value

Question 27. Display And Visibility Properties Are Used To Hide And Show Elements In Any Page. Then How They Are Different From Each Other?
Answer :
As said both the properties are used to hide and Show elements but they are different in the way they both work visibility property, set to hidden will still occupy the space in the layout but display:none does not take up the space in the page 

Question 28. How To Page Break After An Html Element In Css?
Answer :
Use following code snippet
<p style=”page-break-after: always’>Place your text</p>
After above code. the rest content will appear in the next page. (It will not be visible as next page in browser but on the printer and in Print Preview, you will see them as next page)

Question 29. What Is The Default Value Of “position” Attribute In Css?
Answer :
Default value Is “static “.

Question 30. What Are The Values Of “position” Attribute In Css?
Answer :
Possible values are static. relative, absolute, fixed. Inherit.

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!