Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthorjanpd24
    • CommentTimeSep 4th 2008
     
    My jet lagged brain has packed it in! I can't for the life of me figure out why this page's content area won't centre align in IE despite trying "margin: 5px auto"

    The CSS is here.

    (The link is to the original files as provided to me, and not my tinkered files. I didn't design or code the page; I'm only trying to fix it for IE.)

    Any and all help appreciated.
    •  
      CommentAuthorbakercad
    • CommentTimeSep 4th 2008
     
    add this to your css file:

    body {
    text-align: center;
    }


    & this to your div.container class in your css file

    text-align:left;
    •  
      CommentAuthorjanpd24
    • CommentTimeSep 5th 2008
     
    Of course shamed *slaps head*. Thak you, Bob. shamed
    •  
      CommentAuthorbakercad
    • CommentTimeSep 5th 2008
     
    No problem Payal, we all need a little nudge with the simple stuff now & then to get us back on track. Especially when we're looking at little characters on a screen constantly....it all starts to look the same & it's hard to see the forest for the trees