• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

center wit differ resolutions?

O

oO ShifterZ Oo

Guest
#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 !
 

chris

Free to Fly
#3
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
 

SPeedY_B

I may actually be insane.
#4
chrisuk
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
Have some code, chris is paying ;)

<table cellpadding="0" cellspacing="0" border="0" style="text-align: left; width: 100%;">
<tr>
<td style="text-align: center; vertical-align: middle;">Your stuff here :)
</td>
</tr>
</table>
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown