Hello,
I would like to get any feedback on my tribute page. Thank you in advance.
Hello,
I would like to get any feedback on my tribute page. Thank you in advance.
Welcome to the forums @pawot. Your page looks good. Some things to revisit;
strong
element in your HTML but it’s not displaying as such. This is because you only selected the normal weight. Select both the normal and bold weight to import
and you’ll see the difference.
overflow-x: hidden;
will completely hide anything that extends outside its container element horizontally. It’s recommended to not do this, and refactor your CSS to be more responsive - otherwise it is possible for your site to appear to be missing content. (You don’t want to include this just to get rid of that horizontal scrollbar)Thank you for valuable advice, i tried to improve it. As for overflow-x: hidden; I have searched that this is the solution to fill the whole screen with an element horizontally and avoid the scrollbar. Is there any better way how to do it?
Good job on cleaning things up. Your page looks good.
That’s not what overflow-x: hidden;
does. Maybe take a quick review here and do some additional searching.
Your using it on the body
element which is a block level element and automatically takes up all available width.
If you remove it from your page you’ll see that there’s a horizontal scrollbar. As previously mentioned, this is not the way to avoid the horizontal scrollbar.
As a hint, add the following line to the article
declaration;
border: solid 1px red;
When you remove the overflow-x: hidden;
line and narrow your browser you’ll see the horizontal scrollbar that was previously hidden. There’s a property: value;
pair in the article
declaration that’s causing the scrollbar.
Hi! @pawot your page is good but few things to revisit:
loved it. I love your color selection. keep it up!
I got rid of the overflow-x and all negative margins and set margin: auto on body instead. It seems to be working and on small devices article fill the whole screen horizontally without scrollbar. But still cannot figure out how to set timeline and sources to do the same without negative margins.
Thank you for feedback. I can’t figure out, where the problem might be, because it works well on my computer, so the link is probably correct.
Thank you very much.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.