The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS png background won’t display Re: png background won’t display


Put your "dots" on the body tag which is usually the whole browser window, the container means exactly that, it should not be 3000px wide, it should contain the main content of your site within the browser window therefore being nowadays usually a max of 960px wide.

Xhtml has nothing to do with the appearance or not of your "dots". Birdrock suggested you use a specific Doctype because you absolutely have to have a Doctype so that the different browsers know how to interpret your code, otherwise they interpret according to their own defaults. It does not matter which Doctype you use Xhtml or Html 4 strict or traditional as long as you write your html correctly. You do not understand the basics of html and css which is why you are having so many problems. Even when you do understand and write code correctly IE will usually throw you a wobbly, but if Firefox is not behaving then it is your coding which is not right.