Home >Web Front-end >HTML Tutorial >What should I do if I want to place a DIV in the lower right corner of a large DIV? This large DIV contains two parallel DIV_html/css_WEB-ITnose

What should I do if I want to place a DIV in the lower right corner of a large DIV? This large DIV contains two parallel DIV_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:14:38904browse

1e02eef850ab26d94565e68320344947
f71b17b1cd8d5bfd06a08628da7e3818
da547154937b4a675df5717a101324e5
84b392d24a5947d0fba1a5fc02645c9e
474dfa7a6b16ff14867258db622d63be
Several UL Li menus
16b28748ea4df4d9c2150843fecfba68
2a98a13b8e89accf813d6ba1daf4bb6a16b28748ea4df4d9c2150843fecfba68
c997cec9f4b83324a7145373fde865ba
#xx {position:relative;width:965px;height:186px;overflow:hidden;}
#yidong {position:absolute:right:0px;bottom:0px;width :66px;height:62px;background:url(malu.jpg) no-repeat 0 0;}
Let the yidong layer run to the lower right corner of navmenu, what should I do? The above does not work


Reply to the discussion (solution)

position:absolute;right:0px;   

There is a semicolon between these two, your business is a colon.


#yidong {position:absolute:right:0px;top:124px;width:66px;height:62px;background:url(malu.jpg) no-repeat 0 0;}

Set the css of the large div to position:relative; set the css of the small div to position:absolute;bottom:0;right:0; that's it

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