Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorianisth
    • CommentTimeNov 13th 2009
     permalink
    Hi all.Is it possible to center divs inside the main container using the same technique as centering the container its self? ie.margin top=0 right=auto middle=0 bottom=auto.
    I have tried this but nothing changes so i was wondering if there is any code to make this work.

    At the mo i'm just using my eye sight to judge if things are centered within the container.
    • CommentAuthorjamesking
    • CommentTimeNov 17th 2009
     permalink
    You can do it, you do it, but you have to give the DIV you are centering a width.
    • CommentAuthorzjl_685
    • CommentTimeDec 30th 2009
     permalink
    yes
    jamesking is right
    wo made this error too.
Add your comments
    Username Password
  • Format comments as (Help)