Center Web Page Not Working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Albert

    Center Web Page Not Working

    I am trying to have a web page that is within a table and get's
    centered horizontally as the browser expands. Look at the
    following...



    In IE 7 both the JPG and text do not center as the browser expands.
    In Firefox 3.01 only the text centers as the browser expands. What is
    the best way to do this so it will work with all browsers. What am I
    missing?

    Thanks.
  • Scott Bryce

    #2
    Re: Center Web Page Not Working

    Albert wrote:
    I am trying to have a web page that is within a table and get's
    centered horizontally as the browser expands. Look at the
    following...
    >
    http://netmation.com/indexcenter.htm

    This is SO the wrong way to do this!

    You need to find a good tutorial on cascading style sheets. What you
    have isn't fixable. You need to learn how to do this right, toss out
    what you have, and start over from scratch.

    Giving you code that works isn't going to help you. You need to learn
    CSS before any answer we try to give you will make sense.

    Comment

    • Scott Bryce

      #3
      Re: Center Web Page Not Working

      Scott Bryce wrote:
      Albert wrote:
      >I am trying to have a web page that is within a table and get's
      >centered horizontally as the browser expands. Look at the
      >following...
      >>
      >http://netmation.com/indexcenter.htm
      >
      >
      This is SO the wrong way to do this!
      >
      You need to find a good tutorial on cascading style sheets. What you
      have isn't fixable. You need to learn how to do this right, toss out
      what you have, and start over from scratch.
      >
      Giving you code that works isn't going to help you. You need to learn
      CSS before any answer we try to give you will make sense.
      Having taken another look at your page, I am going to make another
      suggestion. Find a good HTML tutorial. Even the wrong way you tried to
      do this was done wrong.

      Seriously. You need to learn HTML and CSS and try again.

      Comment

      • dorayme

        #4
        Re: Center Web Page Not Working

        In article
        <40e08270-8c9b-47c6-9fb0-b731d05bc7aa@t1 2g2000prg.googl egroups.com>,
        Albert <albert@netmati on.comwrote:
        I am trying to have a web page that is within a table and get's
        centered horizontally as the browser expands. Look at the
        following...
        >

        >
        In IE 7 both the JPG and text do not center as the browser expands.
        In Firefox 3.01 only the text centers as the browser expands. What is
        the best way to do this so it will work with all browsers. What am I
        missing?
        >
        This might help you:

        <http://netweaver.com.a u/centring/>

        --
        dorayme

        Comment

        Working...