Grow your CSS skills. Land your dream job.

New to all this RWD Stuff

  • # April 30, 2013 at 3:00 pm

    So I have a page with 2 Div’s in it and the css is below

    However, I can’t get the page to align center with my div align=”center” tag. Help!

    # April 30, 2013 at 3:06 pm

    Do you have a link?

    Or perhaps you could make a Codepen.

    There is no `align:center`property. If you need to center something it has t have a defined width (or max-width) and set the margins to ‘auto’.

    # April 30, 2013 at 3:16 pm

    [Your text to link here...](http://cdpn.io/AajBb “Here’s a code pen but it doesn’t seem to react like it would in the browser”)

    # April 30, 2013 at 3:19 pm

    Yep, as Paulie said, this isn’t an RWD issue, it’s a basic CSS issue. Follow his advice.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".