


In the rendering below, "No CD", "Browse USB", "IPod Music", "Browse Computer", "HDMI1", "HMDI2" and "Settings" are small pictures, and "PCHOME" is a large picture. Pictures, all small pictures should be displayed above the large picture.
How to use css to achieve the effects in the renderings?
If all small pictures are set to position:relative, the left and top values of the small pictures cannot be controlled
Please let me know if you don’t have enough points, you can add points
(Note: The renderings are on the second floor)
Reply to discussion (solution)
Make a large div with the background image as a large image (PCHOME)
Place a sub-div (small image) in the div with fixed width and height
Then adjust the position of the small image
Just set the z-index. Please refer to
http://www.ido321.com/666.html LZ open source and give me the picture or me I will help you get one later
The position of the div is relative, the large image is placed in the div, and the position of the small image is absolute, so that the small image is positioned relative to the div
<div style="position:relative"><img src="/static/imghwm/default1.png" data-src="无光盘" class="lazy" style="max-width:90%"/ alt="There are many pictures in a div, and all small pictures must be displayed above the large picture. How to use CSS to accurately position the small pictures? The rendering is as follows_html/css_WEB-ITnose" ><img src="/static/imghwm/default1.png" data-src="浏览USB" class="lazy" style="max-width:90%"/ alt="There are many pictures in a div, and all small pictures must be displayed above the large picture. How to use CSS to accurately position the small pictures? The rendering is as follows_html/css_WEB-ITnose" >.......<img src="/static/imghwm/default1.png" data-src="PCHOME" class="lazy" / alt="There are many pictures in a div, and all small pictures must be displayed above the large picture. How to use CSS to accurately position the small pictures? The rendering is as follows_html/css_WEB-ITnose" ></div>

.......

That's it !

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
