Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    7
    Member #
    1498
    HI guys

    I need some help here - I am baffled. I am new to web design, and have been doing a page for a school here in S. Africa. The problem I am having , is that, on a 800x600 screen res., you need to press the refresh button on the browser to center the website table in the browser window - the page loads slightly to the left by default.

    How can I correct this? Any help is appreciated.

    Thanks a lot!

    The site is at:
    http://www.wpps.wcape.school.za/testsite/wpps/index.htm

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Try putting the whole body code in a table with its width set to 100%.

    I have the similar problem.

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    i have that problem, when i refresh something it moves - must be something to do with IE
    JR

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    The other thing that you could try is editing your code by hand. Front Page is notorious for putting out excessive and inelegant code. Specifically, what you will need to do is eliminate any white space in your code between images and your table cells. This white space in your code will output as white space on your website, and may well be what's causing your problem.

    e.g.
    Code:
         <td width="770" height="90">
            <p align="center"><img border="0" src="Home/new_topPic.jpg" width="770" height="120"></td>
    should read
    Code:
    <td width="770"><img border="0" src="Home/new_topPic.jpg" width="770" height="120"></td>
    You'll notice how I removed both the paragraph tag and the height tag. I removed the paragraph tag since there's no point trying to center something that takes up the full width of the table cell, and the height tag since the height is less than that of the image and ignored in some browsers.

    In other words, get yourself a text editor (if worse comes to absolute worst, Notepad can be used for this, but try to get an HTML editor specifically) and clean up the code.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:01 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com