Unable to find element which moves page [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 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)

Related

background image-/html and css/ [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 2 days ago.
Improve this question
I am having a hard time getting a background image to be complete and when i scroll it just stops. Any idea what might be the issues? If you look the margin is off on the sides and bottom.
Your webpage will be displayed on different sizes of output devices. How do you want the background-image be displayed in different scenarios?
There are two strategies:
a) you could repeat the background-image to fill the available space. Have a look at https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat for different values.
b) you could resize the background-image to fill the available space. Have a look at https://developer.mozilla.org/en-US/docs/Web/CSS/background-size, especially cover and contain.

I'm having a problems with white part in .html or .css I don't know I'm new to coding [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 1 year ago.
Improve this question
The problems that I have is that
1st. the image will change when I resize the window but the text won't
2nd. when I put the browser window to the side there is a white box
Please help me with this 2. I'm getting annoyed
I was going as the "Free HTML and CSS3 Course" to make you own website by Bring Your Own Laptop.
you did not share your source code. Regarding your problem what you can do:
set padding and margin 0 to the body of your HTML.
set font size in em, or vw of your text.
write your own css media queries to make a responsive website.
We couldn't got any image or code. So it's hard to tell but for 1st problem I think you are setting font-size in px(pixel). Means it will take a fixed amount of screen size. You could try with something else as abir sikder said em or vw or %.
Also I think
box-sizing: border-box; will help

How to fix this header background? It resizes according to the window [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 7 years ago.
Improve this question
To be honest I am very new to HTML/css so forgive me if I could not be specific. See the right side of the page. The elements are fine but the background bar changes size according to the page. If I maximize the page then everything is fine.
Here is the jsbin link: https://jsbin.com/qaxaxo/edit?html,output
thanks in advance for helping, I am really stuck here.
In your case, you must define a min-width attribute for #container in CSS look below :
#container {
min-width:1270px; /* Or whatever is minimum size of header */
width:100%;
}

HTML or CSS layout issue...? (Html smaller than viewport) [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 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.)

HTML/CSS slight sideways scrollability, how to find source? [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 8 years ago.
Improve this question
I have built a website in HTML/CSS, however at some point along building it I have gained a slight sidway scroll to it, in other words the instead of the website perfectly fitting the screen there are thin bars of white each side that can be accessed through scrolling left or right on the screen. I am wondering how I could find out the source of this issue?
http://whynotapp.co.uk/tryitout.html
This occurs on both safari and chrome
This could happen because of a left/right margin on a 100% width element/div. It could also happen if you have positioned an element somewhere that causes it to go off the screen.
In general, if nothing is missing from the screen that needs to be on the screen, you can just use :
body {
overflow-x: hidden;
}
which will hide anything that over extends the x access from the screen.
Inspect element in chrome allows you to see a box of the location and size of an element, by selecting it in html. The element causing the problem should be larger than the containing element, which can help you find it.
F12 to enter dev mode or right click your element.