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
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    I've done this many times. However on this website it doesn't seem to do the trick of centering the page in the browser window.

    The web page in question is:

    www.pedrolimited.com/test/index.html

    The CSS is located here:

    www.pedrolimited.com/test/pedro.css

    Thanks in advance,

    Jake

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    You don't have any body definitions:

    body {
    background-color: #fff;
    margin: 0px auto;
    min-width: 800px;
    text-align: center;
    }

    ..something like that

    With my 800 pixel browser, I end up with a horizontal
    scroll bar. If you make your banner image 770 pixels wide,
    and the width 770 in your properties, that horizontal line
    will go away. Try 780, 770 ... I can't remember which
    width takes into account the width of the vertical scroll bar.


    .


  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    You absolutely need at least:

    Code:
    body {
      text-align: center;
    }
    for IE's purposes.
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    Thanks guys, fixed the problem.


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 10:30 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com