FX Posted January 2, 2004 Report Share Posted January 2, 2004 http://webpages.charter.net/jmetko/index.html Index page is fine and centered. The other two pages are not though. They are off to the left and I am not sure how to fix it. Any ideas? Thanks Ahead of time. FX Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 2, 2004 Report Share Posted January 2, 2004 (edited) Change <table border="2" cellspacing="3" cellpadding="3"> to <table align="center" border="2" cellspacing="3" cellpadding="3"> or <table width="97%" align="center" border="2" cellspacing="3" cellpadding="3"> if you want it to take up almost the whole page. On your index.html page, you may want to add width="97%" align="center" in your table, too, just for continuity. With any table that is going to take up most of the page, it is always a good idea to have the width="97%" thing in there, so that if the visitor has a scrollbar, the table is not too big for their browser. Also, the percentages avoid people having to scroll horizontally if they are browsing at lower resolutions. Edited January 2, 2004 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
bvc Posted January 2, 2004 Report Share Posted January 2, 2004 http://webpages.charter.net/jmetko/screenys.html change style="text-align: left;"> to style="text-align: left; margin-left: auto; margin-right: auto;"> http://webpages.charter.net/jmetko/nascar%...003%20cars.html change <table cellpadding="3" cellspacing="3" border="2"> <tbody> <tr valign="top"> to <table cellpadding="3" cellspacing="3" border="2" style="text-align: left; margin-left: auto; margin-right: auto;"> <tbody> <tr valign="top"> you just add style="text-align: left; margin-left: auto; margin-right: auto;"> Quote Link to comment Share on other sites More sharing options...
FX Posted January 2, 2004 Author Report Share Posted January 2, 2004 Thanks bvc I was playing with the <table align=center> but when I did it, it wouldn't work. I put the first posting of code in, haven't done the other yet. I will tomorrow. FX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.