View Full Version : Need help Please

02-25-2005, 09:01 PM

Hello, everyone!. I created an html website using a normal laptop and the page display right on a standard computer or laptop, but when my friend use his new 14.5 inch screen laptop view my website and it was not quite right. The picture is apart and it's not like when you are using a normal computer view. Also the table side is wrong.

If anyone know the code to help that, please help me out. I know there must be away to fix, but I just don't know how.

Thank you

02-26-2005, 09:48 PM
Well I would suggest defining your images and tables by a percentage of the screen instead of by pixels... as an example on the credits page on my website I used div to define the background size as 100% so it stretched out and then I also defined the position of the credits using percentage. Here is something that can help a little bit, but you will probably need more help if you have never done this or do not have any knowledge of html.

<body style="margin: 0px; padding: 0px;">
<div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;">
<img src="BACKGROUND IMAGE HERE" style="width: 100%; height: 100%;">
<div style="z-index: 1; position: absolute;">

That will fix your background problem and when defining anything else just use percentages instead of pixels.

The problem is that your friend uses a different screen resolution.. I use 1024x768 other people use 800x600 and there are others... this can cause a problem. If you want to see the most popular screen resolution of the people that come to your site go here, http://www.statcounter.com, and sign up and follow the directions.

If you do not know how to make the div tags work, you don't like the turnout, or you don't want to make a seperate page for each resolution, you can go here, http://www.dynamicdrive.com/dynamicindex9/info3.htm, and you can send anyone away that does not have the screen resolution or you can tell them to switch the resolution with this, http://www.dynamicdrive.com/dynamicindex9/info1.htm.

Hope I could help... they are the only fixes that I know.

02-28-2005, 09:41 PM
Thank you, and I will try if it's going to solve my problem.