NZ_Kiwis;10997928 wrote:I have a DIV tag with a black background and a width or 400px.
NZ_Kiwis;10997934 wrote:I have not given my div a width
If you have not given it a width, how does it have a width of 400px? If you want something, anything, in a webpage to be the same size at all time, simply define that size and it will abide. If you want to prevent it from getting taller you can use overflow: hidden in the style and define a specific height.