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 7 of 7
  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    16
    Member #
    9003
    can some 1 plz help, iv made a site and its centered on 1024x768 but if i try to higher the resolution, the page isnt centered anymore. what should i do...plz help me its urgent

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Please could you provide us with a link to the site you refer to?
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  4. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    444
    Member #
    2801
    There are several ways of doing it.

    1. Put the whole page in a div and in the CSS, make the left-margin (say) 25% and then the width to be 50% (so you have a div that is 50% of the page wide and 25% away from the left).

    2. Do the same as 1 above, but for the whole BODY, again using CSS.

    3. If you are using a table for the page, then put in an extra pair of columns on the left and right and give them appropriate widths.

    Hope this helps.
    eKstreme
    eKstreme.com - Free website tools!
    fontfox - free fonts Hand-picked quality fonts.

  5. #4
    Senior Member DanielOliver's Avatar
    Join Date
    Jun 2003
    Location
    Cornwall, England.
    Posts
    1,202
    Member #
    1879
    Use the following CSS.

    Code:
    html { 	
            text-align: center;
            margin: 0px; 
            padding: 0px;
    	}
    	
    body {
    	margin: 0px auto; 
    	padding:0px;
            width: width of you page;
            text-align: left;
    	}
    The width and text align aren't really needed on the body styles but if you don't have the text align in there the text will be centered and will look a right bodge up.

  6. #5
    Junior Member
    Join Date
    Feb 2005
    Posts
    16
    Member #
    9003
    the website is www.cassinigroup.co.uk
    i need everything to resize(including the pictures without too much quality loss)above 1024x768. i want it to look like it is in 1024x768. plz help urgent

  7. #6
    Senior Member Eddy Bones's Avatar
    Join Date
    Jan 2004
    Location
    Washington, USA
    Posts
    1,054
    Member #
    4651
    If you wanted to do it that way, images and all, you would essentially need to make multiple copies of the site. Very big waste of time.

  8. #7
    Junior Member
    Join Date
    Feb 2005
    Posts
    16
    Member #
    9003
    iv got the tables to auto resize above 1024x768 by changing the tables to 100% but since the images dont auto resize the tables are bigger than the image. iv seen a java script but i cant find it to resize images to the table width but u loss some quality. if any one noes it plz tell me


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