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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:14:38
Original
926 people have browsed it



#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;   
Copy after login

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;}
Copy after login

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 of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template