How do you specify units in the CSS?. What are the
different ways to do it?

Answer Posted / hrpynux@gmail.com

CSS has several different units for expressing a length. Many CSS properties take "length" values, such as width , margin , padding , font-size , etc. Length is a number followed by a length unit, such as 10px , 2em , etc.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented css?

350


What is the difference between css3 and css4?

894


What is a cascade meeting?

398


What is shorthand property?

376


How to make scroll bars with the help of css?

333






What is RWD?

484


What are the text properties?

337


What are the two parts of a style rule?

331


How stacking context is formed?

346


What is the use of the box model in css?

360


What is css2 and css3?

346


What are advantages of css?

361


What are child selectors in css?

373


Name some online resources you reference when having css issues.

387


What is float in css for?

356