HTML or CSS layout issue...? (Html smaller than viewport) [closed] - html

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I'm working on this website: www.artetia.com
The thing is that when I resize my viewport I get a white stripe in the right side of the browser as if the Body of my website is smaller or having a minimum width. Can't find how to solve this, I tried with Firebug to check the structure and seems that the html can't get smaller than 960px or so...

You need to stop the backgrounds being wiped out when the viewport is narrowed below 960px. Here's one way to do that via CSS:
div[id^="slide"] {min-width: 960px;}
(For those not seeing the issue, it's a common layout issue. If you narrow the browser below 960px, a horizontal scroll bar appears; and if you scroll right, the backgrounds have been wiped.)

Related

Unable to find element which moves page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
The website is: https://www.epicoyachts.ch
As you can see there is the possibility to scroll right, which should not be possible.
I've tried to play around with the positioning settings, trying to scale the upper bar to the screen. But it has not solved the problem. I can't understand which settings I have to adjust, and mainly of which element.
it's the tiny red arrow to scroll back up
I haven't found any code for your website but, I have a feeling that for your page dimensions you are retrieving the data from the user resolution or, using a constant resolution like 100%.
If that's the case then I'd suggest possibly a fixed lengt resolution of eg 1920p.
//You can try this first if you did not have this
html, body {
max lengt: 100%;
overflow-x: hidden;
}
// If you did have it you can try changing 100% into a standart resolution (1920)

CSS animation slightly increases the page width [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 10 months ago.
Improve this question
I have a page with 3 flip cards based on this example. For some reason, during the flip animation, a scroll bar appears on the side of the page and then disappears when the animation is over. It causes the page content to shrink and expand for a second.
Is there a way to avoid it? It seems like the animation expands the page width by a couple of pixels.
You could try an overflow: hidden on the Card-Container.
It will cut of overflowing content and therefore avoid a scrolling bar.
https://developer.mozilla.org/de/docs/Web/CSS/overflow

Bootstrap Hamburger [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Currently I have a navbar set up however when I shrink the tab to tablet size, the navbar stacks and looks really weird. However, when I shrink all the way to mobile the problem is fixed. What is the best way to determine when the navbar shrinks to hamburger? Ideally for me, this would be as soon as the navbar headings begin to stack themselves.
If you're using bootstrap just check the width size when it shrinks to mobile with Google inspect,
If the #media query triggers at e.g 500px just add some more pixels so it triggers when you need it to, for example if the navigation bar stacks and looks bad at 700px, change the #mediaquery size from 500px to 700px.
(That was just an example , because you did not post any code)

Why isn't my site displaying the side navigation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
It's really bugging me and I have no idea why when I view this site on my mobile, it only shows the middle section and not the sides.
My side navigation is on the left side and completely cuts it out and I can't scroll to it.
Is there some sort of media query I could try? or change my CSS somehow?
Sorry I'f I'm being vague but I have no idea what to ask to make it work.
Here's the site www.joetest.comyr.com
thanks in advance for any help !
You have the width of the #mainpage set rather than a max-width, so as the page is scaled down, the #mainpage is taking the whole screen. Also, you have a negative margin-left set on the #leftpanel which pulls it off the screen when the screen size is smaller. I was messing around with your site using firebug right now and by removing the margin-left attribute I was able to keep the menu on the page while resizing the browser.
You're probably going to have to change your html structure though if you want to retain the exact layout on smaller screens.

Content box resize with browser size [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've been trying to figure out for hourssssssss how this website does this. If you go to [] and resize your browser screen, you'll see that the main content container in the middle gets smaller as your browser size gets smaller. How does it work?
I'm trying to do something similar with a wordpress website I am building.
Thank you,
AJ
All of the stacked elements in the main column have a width of 65%, which refers to a proportion of their parent element. In this case, that's the entire width of the viewport. They'll resize to their min-width, which is set to 700px, and also their max-width, which is at 1920px. Pretty straight-forward CSS.
Get familiar with Firebug and/or Chrome and Safari's developer toolbars. They're indispensable for anyone working with websites.
I believe you are referring to it being Responsive. It likely uses CSS #media queries to change the sites width depending on the resolution of the browser.
You can find more information here: http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/
Also, your site is not a great example of it, see better examples here:
http://mediaqueri.es/