Question: I need help these few CSS questions: 1) For the ul element with the id comments , create a style rule that sets the width
I need help these few CSS questions:
1) For the ul element with the id comments, create a style rule that sets the width to 75% and centers the element by setting the top/bottom margin to 40 pixels and the left/right margin to auto.
2) Create a style rule for every list item that: a) displays the item as a block with a width of 50% floated on the left and b) sets the size of the bottom margin to 30 pixels
3) Every customer comment is accompanied by an image of a student. Display these photos on the left of the comment. Create a style rule to display the image within each comment list item as a block with a width of 20% , floated on the left, and with a left/right margin of 5%.
4) Create a style rule for every paragraph nested within a customer list item that floats the paragraph on the left margin with a width of 70%.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
