Finding what is off with my margins.

When I lower my size to lower sizes, I get a horizontal scrollingbar, and a white area to the right of everything. What is a good way to find what is causing this? If I set Margin to Auto, I get the same area on the left aswell. https://i.imgur.com/P5xNCnC.png https://astrigot.com/
Imgur
Astrigot.com
Astrigot is an AI-powered text generator that helps you create letters, speeches, cover letters, and more. Save time and effort with our AI-driven writing assistant.
11 Replies
ἔρως
ἔρως9mo ago
trial and error in my experience, it's some element that's too big press f12 and use the element inspector
d0kefish
d0kefish9mo ago
Ive been trying, im going to go insane, its such a small detail but it drives me nuts
ἔρως
ἔρως9mo ago
the title at the top in fact, all the titles they don't shrink enough
d0kefish
d0kefish9mo ago
Is that what is causing it?
ἔρως
ἔρως9mo ago
it is certainly many of the things causing it
d0kefish
d0kefish9mo ago
😄 This is my first page, So Ive done all the errors
ἔρως
ἔρως9mo ago
you won't learn if you don't try and that rotated text is all over the place, on mobile
d0kefish
d0kefish9mo ago
Ill dig into it Thank you.
ἔρως
ἔρως9mo ago
you're welcome you did made a mistake that'll cost you a fair bit you have all the font sizes in pixels if you had with rem, you could easily scale everything by changing the font size of the html
~MARSMAN~
~MARSMAN~9mo ago
whenever I have an unknown white space, I use this to help me find the issue:
* {
border: 2px solid red;
}
* {
border: 2px solid red;
}
adjust the border size or apply it to any section elements you suspect is causing the issue then open your inspector and click on the element that is in the unwanted white area
ἔρως
ἔρως9mo ago
don't use border, because it changes the dimentions of the elements use outline, which has the same effect but doesn't change the width and height but otherwise, that's actually great advice