This topic contains a solution. Click here to go to the answer

Author Question: Which of the following is the proper way to dynamically access the border width from within the ... (Read 70 times)

tichca

  • Hero Member
  • *****
  • Posts: 554
Which of the following is the proper way to dynamically access the border width from within the script?
 
  a) document.body.style .BorderWidth
  b) document.body.attri butes.border-width
  c) document.body.style .border-width
  d) document.body.style .borderWidth

Question 2

Which of the following is the proper way to dynamically access the background color from within the script?
 
  a) document.body.style .BackgroundColor
  b) document.body.attri butes.BackgroundCol or
  c) document.body.style .backgroundColor
  d) document.body.style .background-color



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

mohan

  • Sr. Member
  • ****
  • Posts: 362
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (c)




tichca

  • Member
  • Posts: 554
Reply 2 on: Jul 7, 2018
Great answer, keep it coming :)


kishoreddi

  • Member
  • Posts: 329
Reply 3 on: Yesterday
Gracias!

 

Did you know?

The cure for trichomoniasis is easy as long as the patient does not drink alcoholic beverages for 24 hours. Just a single dose of medication is needed to rid the body of the disease. However, without proper precautions, an individual may contract the disease repeatedly. In fact, most people develop trichomoniasis again within three months of their last treatment.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

Eating carrots will improve your eyesight. Carrots are high in vitamin A (retinol), which is essential for good vision. It can also be found in milk, cheese, egg yolks, and liver.

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

Did you know?

Medications that are definitely not safe to take when breastfeeding include radioactive drugs, antimetabolites, some cancer (chemotherapy) agents, bromocriptine, ergotamine, methotrexate, and cyclosporine.

For a complete list of videos, visit our video library