Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Practice InterviewNew Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

CSS Interview Questions and Answers

Is it helpful? Add Comment View Comments
Ques 72. How do you make a tool tip that appears on hover?
Ans. The most simple way is to use the \'title\' attribute like this...

like this

a.tooltip {
a.tooltip span {
display: none;
padding:0 2px;
a.tooltip:hover {
a.tooltip:hover span {
border:1px solid gray;


<a class=\"tooltip\" href=\"#n\">Karl Marx-info goes here-</a>

Without this part... a.tooltip:hover {
} won\'t work in IE.

The \"#n\" in the link is to prevent the page from jumping to the top if the link is clicked. The \"href\" part is necessary as it won\'t work in IE without it.
Is it helpful? Add Comment View Comments
Ques 73. Which characters can CSS-names contain?
Ans. The CSS-names; names of selectors, classes and IDs 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. The names cannot start with a dash or a digit. (Note: in HTML the value of the CLASS attribute can contain more characters).
Is it helpful? Add Comment View Comments
Ques 74. What browsers support style sheets? To what extent?
Ans. Microsoft\'s Internet Explorer version 3.0 Beta 2 and above supports CSS, as does Netscape Communicator 4.0 Beta 2 and above and Opera 3.5 and above. Take note that the early implementations in these browsers did not support ALL of the properties and syntax described in the full CSS1 specification and beyond. Later versions have been getting much closer to full CSS1 compliance, but then comes the next hurdle - was such a big leap over CSS1 that it has taken the browsers years to come close to supporting a majority of CSS2\'s features. Mozilla and Opera\'s current versions both offer excellent CSS standards compliance. The Macintosh version of Internet Explorer is said to be very impressive in its CSS capabilities as well, but PC IE lags behind these implementations. Quite a few other implementations of CSS now exist in browsers that are not as widely-used (such as Amaya, Arena and Emacs-W3), but coverage of features in these documents currently only covers Internet Explorer, NCSA Mosaic, Netscape and Opera browsers.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2020 WithoutBook