Replies: 13 comments 17 replies
|
How do I help
…On Mon, 5 Aug 2024, 12:57 pm big1oot, ***@***.***> wrote:
Hello. I wrote an html code for a clone website, but I noticed that when
executed with the browser, there is an issue. When the screen is reduced to
a particular width, it begins to leave some elements out of the page. Can
someone help me check what the issue is please?
—
Reply to this email directly, view it on GitHub
<#1309>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMICBU3NYU26QVSQYR5NYJ3ZP5SCNAVCNFSM6AAAAABMAETE6OVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGAYTIMRWGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
write a query pattern in css for the same , this happens coz you haven't told the website what to do when screen in small for example see my flipkart clone , the Nav bar gets changed when reduced to certain length mostly done for 3 screens ,laptop,tab and mobile |
|
Have you been able to sort it out? |
|
It sounds like you might be dealing with a responsive design issue. When elements are being cut off or not fitting properly within a reduced screen width, it’s often due to how CSS styles are being applied. Here are a few common causes and solutions: media (max-width: 768px) { Box Model: Ensure padding and borders are properly accounted for. Sometimes, the total width of an element might exceed its container’s width due to padding or borders. Viewport Meta Tag: If you’re working with responsive design, make sure you have the viewport meta tag in your HTML : If you can provide more details or a snippet of your code, I might be able to offer more specific advice. |
|
Use object-fit property in css and see what happen |
Bro uss vw insted of px |
|
Hello, The problem is probably due to the lack of responsive design in your HTML and CSS code. big1oot |
|
Use vh and vw in size stuff |
|
be careful for fixed widths, absolute poisitioning. Instead use %, vw, rem, or flex/grid. |
|
Try Using Flexbox instead of fixed width and heights. Flexbox is a method to align items how you want without using fixed pixels for it. It may need some padding and margin, but that's it. It also makes it 10 times easier |
|
It sounds like your layout isn’t fully responsive. This usually happens when some elements have fixed widths, no flex-wrap, or missing media queries. Try checking these things: Make sure your containers use width: 100% instead of fixed pixel widths. If you’re using flexbox, add flex-wrap: wrap; so items don’t overflow. Add media queries to adjust font sizes, images, and sections for smaller screens. Also check if any image or div is larger than the viewport — that often pushes the layout out. |
|
How I can help you
…On Wed, 18 Feb 2026, 2:42 am joanaquaicoe2-cmyk, ***@***.***> wrote:
Hello please am new here please help me I want technology related stuff
please help a friend I need I really need much help from people to help my
experience
—
Reply to this email directly, view it on GitHub
<#1309 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLI42Y7QX3KIYYNOBJJJHCT4MN72JAVCNFSM6AAAAABZS3JQDCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKOBUGAZTKMY>
.
You are receiving this because you commented.Message ID:
<microsoft/Web-Dev-For-Beginners/repo-discussions/1309/comments/15840353@
github.com>
|
|
Thank you so much for your reply I so sorry I just saw this please is there
anyway you can help me
On Wed, Feb 18, 2026, 2:55 AM PANKAJ KUMAR DAS ***@***.***>
wrote:
… How I can help you
On Wed, 18 Feb 2026, 2:42 am joanaquaicoe2-cmyk, ***@***.***>
wrote:
> Hello please am new here please help me I want technology related stuff
> please help a friend I need I really need much help from people to help
my
> experience
>
> —
> Reply to this email directly, view it on GitHub
> <
#1309 (reply in thread)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/BLI42Y7QX3KIYYNOBJJJHCT4MN72JAVCNFSM6AAAAABZS3JQDCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKOBUGAZTKMY>
> .
> You are receiving this because you commented.Message ID:
> <microsoft/Web-Dev-For-Beginners/repo-discussions/1309/comments/15840353@
> github.com>
>
—
Reply to this email directly, view it on GitHub
<#1309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B6PGQXILGZIGX27FBMGDRJT4MPIALAVCNFSM6AAAAABZS3JQDCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKOBUGI2DEMA>
.
You are receiving this because you commented.Message ID:
<microsoft/Web-Dev-For-Beginners/repo-discussions/1309/comments/15842420@
github.com>
|
Uh oh!
There was an error while loading. Please reload this page.
Hello. I wrote an html code for a clone website, but I noticed that when executed with the browser, there is an issue. When the screen is reduced to a particular width, it begins to leave some elements out of the page. Can someone help me check what the issue is please?
All reactions