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

Home Forums CSS Div Failing to Center

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #38224

    I coded my website a few days ago and realized that my #wrapper div wasn’t centered. I’ve been attempting to tackle this but fail to correct my problem.


    Any help is greatly appreciated :)


    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.