I think I have a "stumper"

10 replies
  • WEB DESIGN
  • |
Hey All Warriors, out there in Warrior Land...

I made a site last night in my NVU editor, got it how I wanted it, But .....there's always a but, right .. It comes up in Firefox great,.. but comes up in IE all the way to the left of the screen. I went through the table and cell properties and their all in the center position.???

Anyone got a clue why and/or how I can fix that.?

Thanks Much.......BostonDave
#stumper
  • Profile picture of the author Richard Whyte
    BostonDave

    We need a link so we can have a look at the code on your page....

    Have a Great Day!
    {{ DiscussionBoard.errors[789960].message }}
  • Profile picture of the author Anrkist
    Do you have a stylesheet? In your style sheet, create this:

    table.center {
    margin-left:auto;
    margin-right:auto;
    }


    Now, just put that class on any main table.
    You shouldn't need to put it onto nested tables.

    <table class="center">
    {{ DiscussionBoard.errors[790009].message }}
    • Profile picture of the author BostonDave
      Dave here again, I don't think my replies got through.?

      Anyway I'll post my link again.........thanks guys

      I appreciate it.............Dave

      Link:... Online Profits Made Easy
      {{ DiscussionBoard.errors[790552].message }}
  • Profile picture of the author BostonDave
    Hey Richard

    I just put the page up temp.,...So you can take a look,..Please

    Thanks Much David.....

    P.S. - don't for get it works fine in firefox but not in IE ??
    {{ DiscussionBoard.errors[790422].message }}
  • Profile picture of the author BostonDave
    Gees I guess a link would help ...HUH ....Da

    Online Profits Made Easy
    {{ DiscussionBoard.errors[790427].message }}
  • Profile picture of the author Kezz
    You have a few empty divs at the top of the page, so the first thing to do would be to delete those:

    HTML Code:
    <div style="text-align: center;"> 
    </div> 
    <div style="text-align: right;"> 
     
     
    </div> 
     
    <div style="text-align: center;"> 
     
     
     
    </div>
    Then, give this a shot and see if it works.

    Replace this line:

    HTML Code:
    <body style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);" alink="#000099" link="#000099" vlink="#990099">
    with this:

    HTML Code:
    <body style="width:100%; height:100%; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);" alink="#000099" link="#000099" vlink="#990099">
    Then, right before your <table> tag, paste this:

    HTML Code:
    <div style="width: 681px; margin: 0 auto;">
    and right after your </table> tag, past this:

    HTML Code:
    </div>
    Give that a whirl and let us know if you have any luck.
    {{ DiscussionBoard.errors[790588].message }}
    • Profile picture of the author BostonDave
      Hey Keez

      Dave here, Thanks Much, I tried just what you said
      and know it works great.............

      Again , Thanks..... you saved me a few hours of work,
      having to start starting from scratch again.

      Dave.........BostonDave
      {{ DiscussionBoard.errors[792055].message }}
  • Profile picture of the author Richard Whyte
    OK, I got back a bit later and I see you have an answer... Well, that is great.... A lesson to remember, if you have a code issue, it is always good to post a link so the WF members can have a look and see exactly what is going on.....

    You know the old saying... "A line of code is worth a thousand words"... Well in the geek world anyway

    Have a Great Day!
    {{ DiscussionBoard.errors[792224].message }}
    • Profile picture of the author Kezz
      Originally Posted by Richard Whyte View Post

      You know the old saying... "A line of code is worth a thousand words"... Well in the geek world anyway
      Hahaha, I'm gonna use that!
      {{ DiscussionBoard.errors[792614].message }}

Trending Topics