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

Home Forums CSS Div Failing to Center Re: Div Failing to Center


You don’t have any divs with id “#wrapper” but I assume you mean the outer div that wraps around the rest (#profile).

You gave it a width of 543px, but you give its contents a total width of about 700px, and elsewhere you have an image of 163px next to a paragraph that’s 450px (total = 613px).

In essence, your assignments of widths of various divs are not correct, and you need to be a little more consistent with that.