Simple Question please

I have an HTML file that when opened in some machines it is
dispalyed differently. It supposed to be like:
----------------
    |               |
    |               |
    |               |
    |               |
                       

When it is opend in some machines the html file looks like:
---------------------
    |               |     |
    |               |     |
    |               |     |
    |               |     |
                       
                   
The same left bar is displayed again. Maybe because the screen is  bigger.

No frame just table of 2 different colors
waiting for your help........

Thanks
oualideAsked:
Who is Participating?
 
HocamConnect With a Mentor Commented:
Make sure you are using the font
"Courier" this is a fixed font.  This simply might be the problem.  But if you could send me the URL or the whole code itself, I am sure I can figure it out...

-Hocam
0
 
oualideAuthor Commented:
Edited text of question.
0
 
TTomCommented:
Would you post the code for the page, so we can see what's going on?

Is this a background image? or a plain HTML <table>?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
TTomCommented:
FWIW, I don't see any way this should be happening with a <table>.  With a background image, the image will repeat itself (tile), according to the width of the browser.  If that's the case, you need to resize your background image to accommodate wider screen widths.

I have seen this happen frequently.

Tom
0
 
oualideAuthor Commented:

The code is big but here are some

// start
<html><head><title>My HomePage</title>
<SCRIPT LANGUAGE="JavaScript">    
if(document.images)    {        
      img1on = new Image();        
      img1on.src = "images/res.gif";    
......

}

// for the left window or strip
<table BORDER="0" CELLPADDING="0" CELLSPACING="2" WIDTH="567">
<td><form name="clock" onsubmit="0"><div align="center">
<center><p><input type="text" size="12" name="face" style="background-color:rgb(102,102,255);
color: rgb(255,255,255);font-weight: bold; text-align: center;
font-family: Comic Sans MS; Arial"></p></center></div></form></td>
<td WIDTH="408" HEIGHT="121"><p align="center"><img
SRC="images/title.gif" ALT="mytitle">
</td>  </tr></table><hr size=1><table BORDER="0" CELLPADDING="0" CELLSPACING="2" WIDTH="596">  
<tr><td WIDTH="155" VALIGN="TOP"><table BORDER="0" CELLPADDING="0" CELLSPACING="5" ALIGN="LEFT" WIDTH="131">          
<tr HEIGHT="28">        <td HEIGHT="28"><p align="center">        
<a HREF="research.htm" onmouseover="imgOn('img1')" onmouseout="imgOff('img1')"><img SRC="images/research.gif" BORDER="0" NAME=img1 ALT="research"></a> </td>
</tr>        
<tr HEIGHT="27">        
<td HEIGHT="27"><p align="center">        
<a HREF="project/index.htm" onmouseover="imgOn('img2')" onmouseout="imgOff('img2')"><img SRC="images/project.gif" BORDER="0" NAME=img2 ALT="project"></a>
</td></tr>        
.......

// this is for the big window

<td WIDTH="427"><table BORDER="0" CELLPADDING="0" CELLSPACING="2" WIDTH="418">      
<tr align="center">        
<td>          
<p>
<b><tt><font SIZE="5" COLOR="#0748e5">Welcome </font></tt></b><br>  
<br><br>
<font Size="4" >
.....


Thanks alot..

Don't you think that instead of using fixed width and height we should use percentage !

0
 
HocamCommented:
I am sorry. Please ignore my previous answer. I was thinking something else.

make sure your background has enough width to show exceptable even in an 21" screen.
Just make the white part longer.
Example: (think as this is your BG image)


---------------------------------------
|Frame  (color)|  white part make longer
---------------------------------------

If you could send me the URL, maybe I can help you...
0
 
oualideAuthor Commented:
>white part make longer

How much longer ?
I don't know how much.

If you post your email I will send te code to you and double the points. I have no url yet. The page used to be in tripod but it in't any more . Thanks alot

What bout using percentage instead of fixed values so it wont matter how big is the screen.

oualide  
0
 
HocamCommented:
serkan1@atanet.net
Just attach me the files...and the background image...
0
 
TTomCommented:
I may be confused, but the only way I can see the "double bar" thing happening is if one of the table dimensions is not correct.

I don't see any background image.

Seems to me that you are nesting a table inside another one.  If the "inside" table is too small, the "outside" table will show on both sides of it.

In any case, would need to see the entire code for the page in order to determine exactly what's going on.

Tom
0
 
oualideAuthor Commented:
Hocam ,

Have you received my email ?
0
 
HocamCommented:
Yes, also I have replied to you the day I received your e-mail. I will send again.
0
All Courses

From novice to tech pro — start learning today.