Skip navigation
Jimmy692
Currently Being Moderated

Problem with my website in Safari

Aug 20, 2012 10:55 AM

My web site page (http://www.ciblindsdirect.com/cleaning.html) looks ok and centered in IE but when i view it in  Safari it goes to the left.
Can this be fixed?
 
Replies
  • Currently Being Moderated
    Aug 20, 2012 11:21 AM   in reply to Jimmy692

    Is this page built in NetObjectsFusion?

     

    <aside>HEY MARTHA, COME LOOK AT THIS!</aside>

     

    Man, is that an ugly layout method!  Tables nested 7 deep....

     

    Change this -

     

    <TABLE width=773 height=722 border=0 align="center"

          cellPadding=0 cellSpacing=0 style="BACKGROUND-COLOR: #ffffff" nof="LayoutRegion4">

     

    to this -

     

    <TABLE width=773 height=722 border=0 align="center"

          cellPadding=0 cellSpacing=0 style="BACKGROUND-COLOR: #ffffff; width:773px; margin:0 auto;" nof="LayoutRegion4">


    and see if that helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 20, 2012 1:33 PM   in reply to Jimmy692

    Is there anything i can change to make the layout a little better?

     

    Yeah - stop using NOF!

     

    Other than that, the next step would be to learn how to not rely on tables for layout, and move to CSS for layout and HTML for content only.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 10:22 AM   in reply to Jimmy692

    Add style="margin: 0 auto;" to your table as shown below:

     

    <TABLE width=773 style="margin: 0 auto;" border=0 align="center" cellPadding=0 cellSpacing=0 nof="ly">

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 10:54 AM   in reply to osgood_

    You mean like I recommended 4 posts above yours?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 2:26 PM   in reply to Jimmy692

    DW only does what you tell it.  It does not change things without being directed to do so.  Operators do such things, however....

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 11:21 PM   in reply to MurraySummers

    Murray *ACP* wrote:

     

    You mean like I recommended 4 posts above yours?

     

    Looked like it was a different table to me and I'm not sure that margin: 0 auto; would work on its own?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2012 4:31 AM   in reply to osgood_

    I'm not sure that margin: 0 auto; would work on its own?

     

    It will only if the element has already been assigned a width.  In this case, the table was given an explicit width.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points