Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

css quickie ?

Options
  • 23-09-2005 4:50pm
    #1
    Registered Users Posts: 252 ✭✭


    in relation to my previous mail about www.thecourtyard.ie

    the site is centered in FF but not in IE (bloody IE!)


    #container{ width: 740px; margin: 0px auto 5px;float:center;}

    i have floated the main container to the center?

    anybody know how i center on IE??


    Tnx


Comments

  • Registered Users Posts: 2,660 ✭✭✭Baz_


    is it not
    margin-left:auto;
    margin-right:auto;
    

    I think that worked for me one time, but yeh ie is an awful pain.


  • Registered Users Posts: 252 ✭✭ConsultClifford


    Baz_ wrote:
    is it not
    margin-left:auto;
    margin-right:auto;
    

    I think that worked for me one time, but yeh ie is an awful pain.

    nope unfortunately not!! :confused::confused:


  • Registered Users Posts: 2,660 ✭✭✭Baz_


    try
    text-align:center;
    

    IE likes that I think


  • Registered Users Posts: 2,660 ✭✭✭Baz_


    Although that is incorrect, I think the rest just ignore it.

    If it doesn't work when set in the div style, try setting it in the body style...


  • Registered Users Posts: 252 ✭✭ConsultClifford


    Baz_ wrote:
    Although that is incorrect, I think the rest just ignore it.

    If it doesn't work when set in the div style, try setting it in the body style...


    seems to have sorted it

    TNX!


  • Advertisement
  • Registered Users Posts: 2,660 ✭✭✭Baz_


    np


Advertisement