Table centered in Firefox, but not IE

Discussion in 'Software' started by askantik, Jul 8, 2008.

  1. askantik

    askantik Sergeant

    View my page (www.fixedbymsustudents.info) in Firefox and then IE. Any ideas? It's probably really simple, but I suck at HTML and know very little about it outside of an editor.

    Thanks much,
    Cody
     
  2. rayzur

    rayzur Private First Class

    Hi,
    On the link you gave, the frame source is
    http://bellsouthpwp.net/b/u/budjordan/pcrepair/index.html

    On that index.html page your table style is this

    Code:
    <table style="width: 45%; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="2" cellspacing="2">
    I'm not sure why IE is not honoring the margin-left:auto & margin-right:auto, but if you change it to margin-left:27.5%; IE will center it up.

    Code:
    <table style="width: 45%; text-align: left; [COLOR="Red"]margin-left:27.5%[/COLOR];" border="0" cellpadding="2" cellspacing="2">
     
  3. askantik

    askantik Sergeant

    Worked like a charm. Thanks :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds