I'm attempting to train myself website design, and that i think it is amusing will be able to code in C and C++ but can't create a website. I am trying to behave rather easy. I've made my header image 234 pixels high and 1 pixel wide. I makes it repeat, but how do you have it to repeat the entire way in all directions and never go past that time and also have a sideway scroll bar? I've attempted passing on a width within the CSS style sheet however that's the explanation for the necessity to scroll. I've come across it's possible with Javascript, but am attempting to avoid that in the minute.

Thanks

Should you remove margin/padding from body

body {
    padding: 0px;
    margin: 0px;
}

Adding your header div within the body element with this particular css

#header {
    height: 234px;
    background-image: url('images/header.png');
    background-repeat: repeat-x;
}

Then your header should span all over the website without making scrollbars anywhere. Divs have width: 100% automatically.

Unsure what you've attempted but what you are explaining seems like the repeat-x CSS property. Try that whenever searching up--I personally use it a great deal inside a similiar manner as to the you are explaining.