When the size of the window goes down the border seems to shrink and be non-existent and the text seems to go left? Any ideas on how I can combat this?
Feedback would also be appreciated. Thank you!
When the size of the window goes down the border seems to shrink and be non-existent and the text seems to go left? Any ideas on how I can combat this?
Feedback would also be appreciated. Thank you!
Your form looks good @mohammedgomer. Some things to revisit;
body
element in HTML. (No need to include the body
tags). For anything you want to add to the <head>
element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
As an aside;
I’ve managed to do most of what you said as seen on the Codepen, I am going to validate it with W3C once finished.
Although I am still struggling with responsiveness. What I was trying to achieve with the media query was the original size of the container and elements within it when resizing the window, as everything seems to mess up when resizing. Am I heading in the right direction?
Thank you.
Hey @mohammedgomer we can guide you better if you just show us how you are trying to do it, there is no media query in your CSS please try something out so we can tell if you are doing it right .
I asked because all that you had for a media query was display: none;
and I don’t think it’s the way you want to go. Here’s a quick pen showing what that value property pair does.
Maybe as a start, remove the padding from the body
selector and add a width (say 80%) to the container
selector and see if that’s the direction you want to go.
Hey @Roma Thank you so much. Managed to implement what you told me.
Although I am confused as to why the page seems to become like this when resizing to a small window? What would I use in order to retain the original size of the page or have it look somewhat presentable in that size?
Thank you.
@mohammedgomer, Have you made any changes since your last post?
When I resize my browser window everything looks like it fits nicely.
Edit: I’m on a MacBook Pro and looked at your form with Chrome, Firefox and Safari. They all look the same as this screenshot.