center wit differ resolutions?

Discussion in 'Web Design & Coding' started by oO ShifterZ Oo, Jan 13, 2003.

  1. i know everyone uses 800x600, 1600x1200, etc. EVERYONE has differ resolution. But im using 1600x1200 n i want the entire website to be able to be seen with all resouutions, so ima desiging it with 800x600 area. BUt after i do graphics etc. how do i center the photo for say a person running 1600x1200 or if someone comes in wit 1024x768, i want it to be in the middle of their screens and the background = cccccc or something.

    ANY resultions can be seen perfect with it and it adjusts to the users screen placing the image in the middle.

    its possible but i forgot how, i done it b4, but all my work is gone cuz of a computer break down =\. PLZ help !
  2. Zedric

    Zedric NTFS Guru Folding Team

    ALIGN="center" work for some tags. Or <CENTER></CENTER>.
  3. chris

    chris Free to Fly

    make a table and set the width and height values to 100% and the alignment to centre. then whatever you put inside that one, more tables or whatever will be in the centre of the page on whatever resolution is viewing it
  4. SPeedY_B

    SPeedY_B I may actually be insane.

    Midlands, England
    Have some code, chris is paying ;)

    <table cellpadding="0" cellspacing="0" border="0" style="text-align: left; width: 100%;">
    <td style="text-align: center; vertical-align: middle;">Your stuff here :)
  5. ty u guys are secksi, i know its rite, i dindt try it yet. ty thou !!