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

Cross Browser compatibility.

Options
  • 27-11-2007 8:52pm
    #1
    Closed Accounts Posts: 94 ✭✭


    Have a look at this site on IE6:
    http://ieboards.com

    Now have a look in Firefox:
    http://ieboards.com

    In IE6 I want it centered like it is in firefox.

    I really need this done!

    I appreciate you helping me!

    SOLVED

    UNSOLVED

    http://ieboards.com/viewtopic.php?t=81
    Have a look at a post on opera.
    And look at the same post in IE or FF.
    BTW this is for ANY post.

    The text for the messages goes blue,when It should be black.

    thanks!


Comments

  • Registered Users Posts: 413 ✭✭ianhobo


    Its not a cross browser issue.

    What attempts have you made to fix it?


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Add the following to your CSS

    1) within the body {} section, add "text-align:center" (note that that's the American spelling)
    2) add a div { text-align:left }

    Liam


  • Registered Users Posts: 413 ✭✭ianhobo


    or in your first div inside your body, simply remove the width style, as it contains a table with a specified with.
    Removing the div witdh style will centre the table in both IE and FF


  • Closed Accounts Posts: 94 ✭✭gnomer


    Thanks a Million for your help!

    I've just found out another problem.

    Ive put it in the first post.


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    Liam Byrne wrote: »
    Add the following to your CSS

    1) within the body {} section, add "text-align:center" (note that that's the American spelling)
    2) add a div { text-align:left }

    Liam
    I wouldn't really recommend doing that

    1 "container" div with a { margin: 0 auto 0 auto; } will do the job for you and you don't have to go correcting text-alignment issues


  • Advertisement
  • Closed Accounts Posts: 94 ✭✭gnomer


    ianhobo wrote: »
    or in your first div inside your body, simply remove the width style, as it contains a table with a specified with.
    Removing the div witdh style will centre the table in both IE and FF

    thats what I did and it worked. look at the first post i have a new problem in opera


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    forbairt wrote: »
    I wouldn't really recommend doing that

    1 "container" div with a { margin: 0 auto 0 auto; } will do the job for you and you don't have to go correcting text-alignment issues


    Fair point....the reason I suggested that way is because it's a skinned forum.....it'd be easier to apply a CSS solution to the skin rather than adding container div open code to a header file and container div close code to the footer file, particularly since you'd be opening the potential for a future update to the forum software to overwrite the "fix".

    But in an ideal world, I'd 100% agree.....


Advertisement