Connecting Tech Pros Worldwide Forums | Help | Site Map

Center Web Page Not Working

Albert
Guest
 
Posts: n/a
#1: Jul 23 '08
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

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
Guest
 
Posts: n/a
#2: Jul 23 '08

re: Center Web Page Not Working


Albert wrote:
Quote:
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.
Scott Bryce
Guest
 
Posts: n/a
#3: Jul 23 '08

re: Center Web Page Not Working


Scott Bryce wrote:
Quote:
Albert wrote:
Quote:
>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.
dorayme
Guest
 
Posts: n/a
#4: Jul 23 '08

re: Center Web Page Not Working


In article
<40e08270-8c9b-47c6-9fb0-b731d05bc7aa@t12g2000prg.googlegroups.com>,
Albert <albert@netmation.comwrote:
Quote:
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
>
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.au/centring/>

--
dorayme
Closed Thread


Similar HTML / CSS bytes