UBB.Dev
Posted By: mic_scp Java Scripts - 11/15/2004 9:00 PM
hello can anyone help me?

I want to make a page in the resolution off 800/600, and i would like this page to be centred in the sceen so that if i onpen it in 1024 i would see the page ok.

I am using frames in my page.

What can i do
Posted By: Gizmo Re: Java Scripts - 11/15/2004 11:07 PM
This should work for you; note it's JUST html, just put it in your center frame's page:
Code
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="800" height="600" id="center-table">
<tr>
<td width="100%" valign="top"> </td>
</tr>
</table>
</center>
</div>
Posted By: mic_scp Re: Java Scripts - 11/16/2004 5:25 PM
hello

well i just didn't undertood one thing.

I have the index file were i have my frames. do i put the code there, or in one of the page?

Thanks
Posted By: Gizmo Re: Java Scripts - 11/17/2004 1:05 AM
IF you have frames as your index page you'll want to insert the above coding in the frame page where you wish it to display.
Posted By: mic_scp Re: Java Scripts - 11/17/2004 2:04 PM
i trie do pu t the code in my index page, but all i get is a blank page.
I trie to put in the frame and i still have the problem.

If you have a time my page is http://paroquiareboleira.no.sapo.pt

the problem is in the 'top' frame if you switch to 1024 ou 800 ou will see the problem.

Thanks for the help
Posted By: Gizmo Re: Java Scripts - 11/18/2004 1:56 AM
There is no content on the code that I gave you; it's a simple table... Add your content inside of the area:
Code
      <td width="100%" valign="top"> </td>
Simply replace:
Code
 
With your content...
Posted By: mic_scp Re: Java Scripts - 11/18/2004 2:32 PM
sory Gizzy but i still didn't get it....

I put the coding in the page.

But i only have a bckgrd image in that frame, when i open it in a 800/600 its ok, but in 1024 the image repeats it self. Can say that the image strech or someting like that ยป?

Thanks
Posted By: Gizmo Re: Java Scripts - 11/19/2004 3:20 AM
I don't see anything repeating on the page and I'm using an ungodly large resolution...
Posted By: mic_scp Re: Java Scripts - 11/19/2004 2:02 PM
well Gizzy

~Can yopu give me hte entier code to put in my "top" frame? is a simple frame with a backgrd image.
thenks
Posted By: Gizmo Re: Java Scripts - 11/20/2004 1:51 AM
Sorry, I don't have the time available to provide HTML work for free, I'd have to make time and that's something that I don't have much of now adays.
© UBB.Developers