Describe the measurement value types you can specify for margin, border, and padding properties. Why would you use each value type?

What will be an ideal response?


The margin, border, and padding properties let you state two types of measurement values-either a length or a percentage.  If you use a percentage value, the percentage is based on the width of the containing box, as described earlier. If you choose a length, you have to decide whether to use an absolute or relative value. As with font sizes, you are better off using relative units such as ems or percentages when you are stating margin, border, or padding sizes. The relative measurement values let you build scalable web pages. Pixel values for padding and margins are often specified in fixed page designs where the dimensions of the layout are constant. Many web designers prefer pixel measurements for certain properties such as borders when they know the size of the border line will remain constant across different monitors and devices.

Computer Science & Information Technology

You might also like to view...

Which property of mutual exclusion primitives is inappropriate for multiprocessor systems?

a) The solution is implemented purely in software on a machine without specially designed mutual exclusion machine-language instructions. b) No assumption can be made about the relative speeds of asynchronous concurrent threads. c) A thread that is executing instructions outside its critical section cannot prevent any other threads from entering their critical sections. d) A thread must not be indefinitely postponed from entering its critical section.

Computer Science & Information Technology

Find name of the supervisor for employee number 433.

Use the NamanNavan (N2) Corporation database tables to design the following queries. (Use the spooling method to capture all queries and results in the CHAP7SP1.LST file.)

Computer Science & Information Technology

Management wants to be sure that the existing wiring infrastructure conforms to CAT5e standards. Which of the following is the correct tool?

A. Cable certifier B. Cable tester C. OTDR D. Protocol analyzer

Computer Science & Information Technology

Passing by value is when you pass a copy of a variable's address to a function.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology