interview questions and answers

Web Technologies Interview Questions | CSS Interview Questions

Home interview questions Web Technologies interview questions CSS 
Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Web Technologies interview questions CSS

This category contains CSS Interview Questions and Answers


Is CSS case sensitive?

PDF Print E-mail
{xtypo_infoCascading Style Sheets (CSS) is not case sensitve. However, font families, URLs to images, and other direct references with the style sheet may be. The trick is that if you write a document using an XML declaration and an XHTML doctype, then the CSS class names will be case sensitive for some browsers. It is a good idea to avoid naming classes where the only difference is the case, for example: div.myclass { ...} div.myClass { ... } If the DOCTYPE or XML declaration is ever removed from your pages, even by mistake, the last instance of the style will be used, regardless of case.{/xtypo_info}


Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Web Technologies Interview Questions | CSS Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony