53.1k views
0 votes
Create a style rule for the address element to display the text in a normal font with a font size of 0.9em, horizontally center the text, and set the top and bottom padding to 10 pixels.

User Rallrall
by
6.0k points

1 Answer

5 votes

Answer:

Following are code in CSS(Cascading Style Sheet).

address {

font-weight: normal;

font-size:0.9em;

text-align: center;

padding-top: 10px;

padding-bottom: 10px;

}

Step-by-step explanation:

Following are the description of the program.

In the following code of Cascading Style Sheet, "address" is the element that is used to style.

  • Firstly, set the weight of the text to normal.
  • Then, set the size of the text to 0.9em.
  • Then, Align the text at the center.
  • Finally, Set the padding from top and bottom to 10px.
User Andie Vanille
by
5.7k points