Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can some please help, this is a style line for a photo w/ atext line that is sup

ID: 3611742 • Letter: C

Question

Can some please help, this is a style line for a photo w/ atext line that is suppose to be under it, however it keeps showingup to the right. #photobox    {float: right;text-align: center; font-size: 8pt; font-style: italic;background-color: rgb(255, 215, 71); margin: 10px 0px 10px10px;
   border-style: solid; border-color: black;border-width: 1 4 4 1; display: block} Can some please help, this is a style line for a photo w/ atext line that is suppose to be under it, however it keeps showingup to the right. #photobox    {float: right;text-align: center; font-size: 8pt; font-style: italic;background-color: rgb(255, 215, 71); margin: 10px 0px 10px10px;
   border-style: solid; border-color: black;border-width: 1 4 4 1; display: block}

Explanation / Answer

If the value of float is right the image or text moves to theright in the parent element.

If it is none (default) the image or the text will be displayedjust where it occurs in the text.

If there is too little space on a line for the floating element,it will jump down on the next line, and continue until a line hasenough space