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 2 of 2

Thread: margin auto

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    94
    Member #
    4729
    ok to center a div we use
    margin-left: auto;
    margin-right: auto;

    right?

    for example http://lycos.co.uk

    but when in mozilla (firefox at least) if you resize the window smaller than the design, the left hand side goes off the screen, and makes it in accessable, how do you get around this?

  2.  

  3. #2
    Member
    Join Date
    Jan 2004
    Posts
    94
    Member #
    4729
    nm fixed it, if you add
    border: 1px solid transparent;

    it will stop the design from moving off the screen.


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