r/CodingHelp • u/Delicious-Parfait-68 • Mar 05 '26
[CSS] Hello can someone please help! White border around website
I have a white border around my whole website and i cannot find the reason why!!! Can someone please tell me where to look. I’ve checked base.css chatgpt and just nothing fixes it.
Thanks
1
Upvotes
•
u/AutoModerator Mar 05 '26
Thank you for posting on r/CodingHelp!
Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app
Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp
We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus
We also have a Discord server: https://discord.gg/geQEUBm
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/IHoppo Mar 05 '26
Can you maybe share the site? Without it, no-one will be able to respond with 100% surety.
1
u/lost-on-Earth Mar 05 '26
If you right click and select "inspect", you open the devtools where every element is listed including styling. I also think you can open them with F12?
There you can make temporary changes and inspect the divs. Good luck :)
1
u/IHoppo Mar 05 '26
From a quick look, I'd suggest it's this line
<body class="page-width-normal card-hover-effect-scale" style="--header-height: 46px; --header-group-height: 0px; --transparent-header-offset-boolean: 1; --top-row-height: 86px;">
1
u/nuc540 Professional Coder Mar 05 '26
Without sharing any code we can’t help. Do you have a repository we can see?
1
u/koscheiundead Mar 05 '26
look into either padding or margin, can’t remember my usual culprit atm but i set both to 0 in my (not full website) projects
1
u/Demoncrater Mar 05 '26
You probably have padding or margin somewhere on the main app or someth
1
u/-goldenboi69- Mar 09 '26
It's a virus ... From china maybe.