Grow your CSS skills. Land your dream job.

[Solved] Problems Centering After Rounding Corners

  • # September 23, 2009 at 2:01 pm

    Hi everyone, I’m new here and very new to website creation and coding so please talk to me like I’m 5 yrs old…

    I’m trying to put rounded corners on my website but I’m having problems

    I can’t get it centered now!!!

    Here is an example, you can just right click and view page source to see the code…
    I know that the code and everything is messy and probably weird because I suck at writing code…
    http://www.rapturereptiles.com/framesindex.html

    As you can see it is holding the left side of the browser window but I need it to be centered…
    I’ve tried <div align="center"> and tons of text align centers too
    nothing seems to work ever since I rounded the corners…

    I’m using Dreamweaver CS4 if that changes anything…

    Please help,

    Thanks, Ryan

    # September 23, 2009 at 3:16 pm

    SUPER simple fix.

    Add:

    margin: 0 auto;

    to .roundedcornr_box_209992 in your CSS file.

    # September 23, 2009 at 4:05 pm

    Thank you so much, worked perfectly!

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

You must be logged in to reply to this topic.

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