Free tools Windows power users keep installed
One-click scans. No signup required.
“Floating image” can mean three different effects: an image pinned to the browser window, an image that sticks after you scroll to it, or an image that lets text wrap around it. Use position: fixed for a persistent viewport overlay, position: sticky for an image that follows its section after reaching a threshold, and the older CSS float property only for text wrapping. The examples below show each method, with responsive and accessibility safeguards.
Choose the floating behavior first
| Goal | CSS approach | Where the image is constrained |
|---|---|---|
| Stay in one screen corner while the page scrolls | position: fixed |
Normally the viewport; certain transformed ancestors can change the containing block |
| Remain in its section, then stick at a threshold | position: sticky with an inset such as top |
The containing block and nearest ancestor that creates a scrolling mechanism |
| Let paragraphs flow beside an image | CSS float |
Normal document flow and the surrounding text |
These are layout behaviors, not image formats. You can use PNG, JPEG, WebP or SVG as appropriate; the positioning is controlled by CSS.
Create a fixed floating image
A fixed element is anchored to the viewport in the ordinary case, so it remains in the same place during scrolling. MDN describes this as creating a “floating” element that stays in the same position regardless of scrolling (MDN Web Docs).
Complete HTML
<a class="floating-image" href="/featured" aria-label="Read more about the featured item">
<img src="/images/featured-item.webp" alt="A short description of the featured item">
</a>
Complete CSS
.floating-image {
position: fixed;
right: 1rem;
bottom: 1rem;
z-index: 10;
display: block;
width: min(8rem, 28vw);
}
.floating-image img {
display: block;
width: 100%;
height: auto;
}
right and bottom create the corner offset. Change them to left and top for another corner. The z-index brings the image above ordinary content, but it does not guarantee that it will cover every other stacking context. Keep the value modest and avoid covering navigation, cookie controls or form fields.
Make the overlay usable on small screens
@media (max-width: 30rem) {
.floating-image {
right: .75rem;
bottom: .75rem;
width: min(6rem, 24vw);
}
}
The min() limit prevents a large image from consuming the viewport. height: auto preserves the intrinsic aspect ratio. If the image is decorative, use alt="". If it conveys information, give it concise alternative text; MDN describes alt as the image’s textual replacement (MDN Web Docs). A linked image also needs a meaningful accessible name. Do not repeat the same phrase in both the link’s label and the image alternative unless both are needed.
#1 Best Overall
- Multifunctional Drawing Tablet – Ctab 12 is a 12-inch Android 15 tablet, powered by a T616 octa-core processor with 16GB RAM and 256GB ROM (expandable up to 2TB) for smooth multitasking. Ideal for online teaching, Zoom meetings, and digital art creation, it’s perfect for beginners and professionals in drawing, sketching, design, 3D work, and animation.
- Ultra-Sensitive Stylus for Seamless Creativity – This tablet with Stylus comes equipped with a rechargeable pen offering 4096 pressure levels and tilt support, ensuring precise, natural strokes for professional-grade results. The pen attaches magnetically to prevent loss and includes a drawing glove for a comfortable, smudge-free experience—perfect for artists and designers.
- Experience Every Detail in Stunning Clarity – The 12-inch IPS display delivers crisp, vibrant 2K visuals, bringing every brushstroke, movie, or game to life. Wide viewing angles and anti-glare technology ensure accurate colors and comfortable, precise artwork from any position.
- Large Screen with Protective Case – Enjoy a spacious canvas for drawing, sketching, or working on this Android tablet. The included protective case features three folding modes, offering multiple viewing angles while protecting your tablet from scratches and bumps—ideal for creating, typing, or watching videos anywhere.
- 8000mAh Long-Lasting Battery – Android tablet features a powerful 8,000mAh battery, providing up to 6 hours of video playback or creative work. The reinforced Type-C port allows easy charging from any orientation, giving you more uninterrupted time for drawing, streaming, or productivity.
Important fixed-position caveat
An ancestor with a non-none transform, perspective or filter can establish the containing block for a fixed descendant. If the supposedly viewport-pinned image moves with a card or wrapper, inspect ancestor styles and move the link nearer to body or remove the property that creates the containing block.
Create a sticky image inside a section
Sticky positioning keeps an element in normal flow until it reaches an inset, then holds it there while its containing block has room. This is useful for an article image beside text, a product preview beside details, or a sidebar illustration.
HTML structure
<main class="article-layout">
<article>
<h1>Article title</h1>
<p>Long-form content...</p>
<p>More content...</p>
</article>
<aside class="image-column">
<img src="/images/product.webp" alt="The product viewed from the front">
</aside>
</main>
CSS
.article-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(12rem, 24rem);
gap: 2rem;
align-items: start;
}
.image-column {
position: sticky;
top: 1rem;
}
.image-column img {
display: block;
width: 100%;
height: auto;
}
@media (max-width: 48rem) {
.article-layout {
grid-template-columns: 1fr;
}
.image-column {
position: static;
}
}
The required inset is top: 1rem; without an inset, a sticky element has no threshold at which to stick. The image can stick only while its containing block has scrollable height. Its nearest ancestor that creates a scrolling mechanism also constrains it, even when that ancestor is not visibly scrolling. Check overflow: hidden, auto and scroll on wrappers when sticky appears not to work. Grid and flex layouts can also produce a container that is too short; use align-items: start and ensure the adjacent content is taller than the sticky region.
Sticky accessibility and reflow
Sticky regions can obstruct reading or keyboard focus. W3C WAI advises that they can disadvantage keyboard users and should be used judiciously (WAI C34). Test with keyboard navigation, browser zoom and text enlargement. At narrow widths or short landscape viewports, switch the region back to normal flow as in the media query above. Do not let a sticky image cover headings, skip links, buttons or error messages.
Float an image so text wraps around it
If “floating” means text wrapping rather than pinning, use float and clear it after the text. This image scrolls normally.
Rank #2
- 【All-in-One Standalone Drawing Tablet】No computer needed. Ready right out of the box. 12" screen, 4096 stylus, 16GB RAM, 256GB storage, Android 15. Runs all your favorite drawing apps smoothly. Perfect for beginners, students, and hobbyists. Create anywhere – from home to coffee shop.
- 【Natural Drawing Feel】4096 pressure levels capture every stroke from delicate lines to bold marks. 60° tilt support lets you shade naturally, just like a real pencil. USI 2.0 ensures compatibility across devices. Magnetic attachment keeps the stylus secure on your portable drawing tablet – no fumbling, no losing.
- 【True Color Canvas】12-inch IPS display with 2000x1200 resolution brings every detail to life. 100% sRGB color gamut ensures vibrant, accurate hues from first sketch to final render. Full-lamination eliminates parallax – your pen tip meets the cursor exactly where you expect. More room to create on this drawing tablet with screen – zero distraction.
- 【Anti-Glare & Eye Comfort】Pre-applied anti-glare screen protector cuts harsh reflections and fingerprints, so you can draw under any light – studio, cafe, or sunlight. Reduced glare means less eye strain, even during marathon sessions. This drawing tablet no computer needed keeps your focus on art, not on squinting.
- 【Open. Smooth. Limitless.】Powered by Android 15 and 16GB RAM (8+8 virtual) – layers pile up, apps multiply, yet zero lag. 256GB storage onboard, expandable to 2TB – room for thousands of artworks, tutorials, and everything you love. Download any creative app from Google Play: ibis Paint, CSP, Krita, you name it. A true art tablet for drawing that adapts to you.
<img class="article-photo" src="/images/photo.webp" alt="A person assembling a circuit board">
<p>This paragraph flows beside the image until it reaches its lower edge.</p>
<div class="clear-after"></div>
.article-photo {
float: left;
width: min(18rem, 45%);
height: auto;
margin: 0 1rem 1rem 0;
}
.clear-after {
clear: both;
}
@media (max-width: 36rem) {
.article-photo {
float: none;
display: block;
width: 100%;
margin: 0 0 1rem;
}
}
Use a clearfix on a parent when its height must include floated children:
.article-copy::after {
content: "";
display: table;
clear: both;
}
For new layouts, grid or flexbox is usually easier to maintain; reserve float for intentional text wrapping.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchRank #3
- Word-first 16K Pressure Levels: The upgraded stylus features 16,384 levels of pressure sensitivity and supports up to 60 degrees of tilt, delivering smoother lines and shading for a natural drawing experience. With no battery or charging needed, it operates like a real pen, making it easy for beginners to create effortlessly. This functionality helps novice artists develop their skills and explore their creativity without the intimidation of complex tools
- Designed for Beginners: This drawing pad desinged with 8 customizable shortcuts for both right and left-hand users, express keys create a highly ergonomic and convenient work platform
- Perfectly Adapted for Android: The XPPen Deco 01 V3 art tablet supports connections with Android devices running version 10.0 and above. It is recommended to download the XPPen Tools Android application, which adapts to your smartphone's screen aspect ratio, ensuring accurate mapping. It also supports mapping on Android screens with different aspect ratios in portrait mode
- Large Drawing Space, Bigger Bold Inspiration: This expansive drawing pad has10 x 6.25-inch helps you break through the limit between shortcut keys and drawing area
- Easy Connectivity for Beginners: The Deco 01 V3 offers USB-C to USB-C connectivity, plus adapters for USB C. This ensures easy connection to various devices, allowing beginner artists to set up quickly and focus on their creativity without compatibility concerns. Whether using a laptop, tablet, or desktop, the Deco 01 V3 provides a seamless experience, making it an ideal choice for those just starting their digital art journey
Accessibility and responsive checklist
- Use informative
alttext for meaningful images andalt=""for purely decorative images. - Do not place meaningful or functional content only in a CSS background image; W3C’s C9 technique covers decorative background images (WAI C9).
- Give fixed and sticky images a bounded width, an intrinsic aspect ratio and enough contrast against the page.
- Zoom to at least 200% and enlarge text. Confirm that the image does not cover content or trap focus.
- Test narrow phones, wide phones and short landscape windows. Disable sticky or reduce its size when available height is insufficient.
- Keep overlays away from browser edges where mobile browser controls or safe areas may overlap; add spacing rather than relying on a transparent image border.
Debugging: why the image is not floating correctly
It does not stay fixed
Confirm the rule is applied to the element itself, not only its image child, and check for an ancestor transform, perspective or filter. Inspect computed styles in browser developer tools and temporarily disable those ancestor properties.
Sticky never sticks
Add top: 1rem, then inspect every ancestor for scrolling overflow. Ensure the sticky element is not taller than its container and that nearby content provides enough scroll distance. In a flex or grid parent, use align-self: start or align-items: start.
The image covers buttons or text
Reduce its width, move it to another corner, lower its z-index, or remove the overlay at a breakpoint. Check zoom and keyboard focus, not only a default desktop window.
Rank #4
- Stunning Display: Enjoy vibrant colors and crisp details on the 11 inch Nano anti-glare display with a 1920 x 1200 resolution and 90Hz refresh rate
- Rechargeable Pen: The computer graphic tablet is equipped with a rechargeable pen with 4096-level pressure sensitivity and tilt function, making strokes smooth and sensitive
- Soft Light Glass: Nano-etching screen reduces glare/graininess, offers a paper-like texture. Full-laminated design enhances touch precision/image clarity. Soft viewing experience reduces eye strain for natural drawing and extended use. Anti-fingerprint coating ensures cleanliness
- Powerful Performance: Experience seamless multitasking and smooth gaming, 6GB of RAM, and 128GB of storage (expandable up to 1TB)
- All-Day Battery Life: Stay connected and entertained with the long-lasting 8000mAh battery that supports uninterrupted usage throughout the day
The image is distorted
Set height: auto. If a fixed box is required, use object-fit: cover deliberately and provide an appropriate aspect-ratio container.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Text does not wrap
Make sure the image itself has float: left or float: right; position: fixed and position: sticky do not create text wrapping. Remove a conflicting display or clearing rule and inspect the computed style.
Performance and maintenance choices
CSS fixed, sticky and float positioning needs no JavaScript. Avoid scroll listeners for these basic effects; they add maintenance and can create synchronization problems. Use appropriately sized, compressed images and responsive source selection when images are large. Keep the overlay’s interactive area large enough for touch, but do not enlarge a tiny image until it becomes visually dominant. If the image is below the initial viewport, normal lazy loading may help; do not lazy-load an image that must be visible immediately.
Or skip the browser setup
If your actual goal is to generate screenshots of a page—not to add a floating image to its layout—ScreenshotNeo returns a clean image or PDF from one request. It accepts consent banners before capture and removes more than 60 known consent platforms, newsletter popups and chat widgets; each cleanup step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page verdict and billing status in X-Page-Verdict and X-Billed headers. Its MCP server provides take_screenshot, get_page_info and capture_pdf for Claude, Cursor and other MCP clients.
Use the API examples in the ScreenshotNeo documentation:
Best Value
- All-in-One Drawing Tablet: This standalone tablet requires no computer connection—start drawing right out of the box. Perfect for artists on the go, its sleek aluminum back provides a comfortable feel and makes the writing tablet an ideal choice for note-taking and capturing ideas.
- 10.95-inch Full HD Graphic Tablet: The combination of a 10.95-inch screen and FHD+ (1920*1200) resolution ensures a high pixel density of 207 PPI, delivering a sharp visual experience. With a 99% sRGB color gamut, every stroke of your artwork is precisely represented.
- Smooth 90Hz Refresh Rate: The digital drawing tablet features a 90Hz refresh rate, ensuring smooth visuals with no lag. This makes images more vivid, allowing you to immerse yourself in a seamless creation experience. The digital drawing pad also enhances your viewing experience, whether you're watching films or playing games.
- Full-Laminated Anti-Glare Screen: The digital art pad features a nano-etched, anti-fingerprint matte surface that significantly reduces glare and provides a natural paper-like texture for a comfortable drawing feel. The full-lamination technology minimizes parallax, enhancing stroke precision and clarity, while also helping to reduce eye strain during prolonged use.
- High-Precision H-Pencil: The drawing pen features Huion's years of experience in line-drawing algorithms, offering better accuracy and preventing line offset while drawing. With 4096 levels of pressure sensitivity and 60° tilt recognition, it brings you a writing experience that feels just like using a real pencil.
cURL
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
ScreenshotNeo includes full-page and selector captures, device presets and custom viewports, retina scale, dark mode, PDF controls, custom CSS and JavaScript, pre-capture clicks, waits, request blocking, headers, cookies, user agents, authorization, timezone and geolocation, transparent backgrounds, resizing, TTL caching, signed links, asynchronous webhooks, bulk capture of up to 100 URLs per call, usage reporting and an OpenAPI specification. Parameter names used by other screenshot APIs also work. Plans include 1,000 free shots per month with no card, then Starter at $5 for 3,000; yearly billing gives two months free, and every feature is available on every plan. Sign up free for 1,000 screenshots a month with no card.
Frequently Asked Questions
Can I combine fixed and sticky positioning on one page?
Yes. They can coexist because each rule applies to a different element, but test their combined stacking order, focus behavior and mobile space.
Quick Recap
Why does a sticky image stop before the end of an article?
Sticky positioning is limited by its containing block. When that container ends, the element cannot continue sticking; make the container encompass the intended content or use a fixed overlay if it must remain viewport-bound.
Should I use JavaScript to move a floating image while scrolling?
Not for the fixed, sticky or text-wrapping behaviors described here. Native CSS provides those behaviors with fewer moving parts.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
The Bottom Line
Use fixed for a persistent viewport overlay, sticky for a section-bound image that sticks after reaching an inset, and float only when text should wrap around the image. Bound the size, preserve the aspect ratio, provide correct alternative text and test zoom, keyboard navigation and small screens.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

