Home  >  Article  >  Web Front-end  >  How to adjust the relative position of a specified span in a div? Details are as follows:_html/css_WEB-ITnose

How to adjust the relative position of a specified span in a div? Details are as follows:_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:57:304670browse




                                                                                                            t;United States
                                                                       In sentences (1) and (2), cannot the position of the span in the div relative to the div be adjusted? Can't I change the coordinates of the span relative to the upper left corner of the div?
How can I make the span with class="oneSpan" appear 50 pixels away from the top border of the div in the vertical direction?











Reply to discussion (solution)

Yes It works. This place is written wrong

China< /span>
There is no problem with the style

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn