Newbie - strange problem (with frames) - help ?

J

Jane Doe

Hello,

problem as follows:

I have made a webpage with 3 frames

left | main
footer

but for some reason, when I put table on main.html, it leaves a blank space
on right edge, I cannot make the first line complete from left edge to right
edge. Code follows, can someone help me with this one ?

btw, is there a news group, where i could send screen shot of problem (would
be much easier to explain problem with picture?)

Thanks in advance.

index.html --------------------------------------------

<HTML>
<TITLE></TITLE>
<FRAMESET ROWS="*,47" frameborder="0"
framespacing="0" border="0" scrolling="none">

<FRAMESET COLS="165,*">
<FRAME name="left" SRC="left.html">
<FRAME name="main" SRC="main.html">

</FRAMESET>
<FRAME name="footer" SRC="footer.html">
</FRAMESET>
</HTML>

left.html --------------------------------------------

<html>
<body bgcolor="#ffffff" text="#000000" link="#000066"
vlink="#000066" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
</body>

<table width="100%" cellspacing=0 cellpadding=0 border=0>

<tr><td>
<a href="link_1.html" target="Main">Link_1</a>
</td></tr>

</table>

</body></html>

main.html --------------------------------------------

<html>
<body bgcolor="#fhjfff" text="#000000" link="#000066"
vlink="#000066" marginwidth=0 marginheight=0
leftmargin=0 topmargin=0>

<TABLE BORDER="0" width="100%" CELLPADDING="0" CELLSPACING="0"
BGCOLOR="#FFFFFF">

<TR>
<TD width="100%" height="16" background="gfx/left_up_1_x1.jpg"></TD>
</TR>

</TABLE>

</body></html>

footer.html --------------------------------------------

<html>
<body bgcolor="#f99off" text="#000000" link="#000066"
vlink="#000066" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
</body>
</html>
 
W

William Tasso

Jane said:
Hello,

problem as follows:

I have made a webpage with 3 frames

there's your first problem - frames are evil (look it up)
but for some reason, when I put table on main.html, it leaves a blank
space on right edge, I cannot make the first line complete from left
edge to right edge.

You don't need a table to display one image - that's an inappropriate use of
table markup
Code follows, can someone help me with this one ?

btw, is there a news group, where i could send screen shot of problem
(would be much easier to explain problem with picture?)

post the URL
 
R

rf

[crossposted groups removed]
Jane Doe said:
Hello,

problem as follows:

I have made a webpage with 3 frames

Therein lies your problem. You are using obsolete technology.

Cheers
Richard.
 
J

Jane Doe

William Tasso said:
there's your first problem - frames are evil (look it up)


You don't need a table to display one image - that's an inappropriate use of
table markup

There is going to be more than one image (actually three), that was just as
an example.

Even if I use three images, situation is the same, small empty space in the
right edge...
 
T

Trevor George

Jane Doe wrote in message ...
but for some reason, when I put table on main.html, it leaves a blank space
on right edge, I cannot make the first line complete from left edge to right
edge. Code follows, can someone help me with this one ?

In your index.html you've used a lower-case 'm' in the word 'main'.
In left.html you've used a capital 'M' in the target name 'Main'

Make the capital 'M' into a lower-case 'm'

That's one problem solved.
 
T

Tina - AffordableHOST.com

Jane Doe said:
Hello,

problem as follows:

I have made a webpage with 3 frames

left | main
footer

but for some reason, when I put table on main.html, it leaves a blank space
on right edge, I cannot make the first line complete from left edge to right
edge. Code follows, can someone help me with this one ?



You might want to reconsider your use of frames. There is rarely a good
reason to use frames and they pretty much scream "newbie!". That said, take
a look at your HTML again and make sure that you don't have any spaces or
'carriage returns' anywhere before or after the problem area. Sometimes you
can't see them, so you have to backspace or delete around that area.

PS: Next time send us a URL to the page and we can see the actual live
HTML.

--Tina
 
W

William Tasso

Jane said:
There is going to be more than one image (actually three), that was
just as an example.

Still not necessary.
Even if I use three images, situation is the same, small empty space
in the right edge...

Page is still using frames.

From another post: http://members.surfeu.fi/janedoe/ looks fine (no gap) in
Opera and Mozilla but your markup is not quite up to scratch -
http://validator.w3.org/check?uri=http://members.surfeu.fi/janedoe/
leaving your page to the mercy of in-browser error correction techniques.
 
T

Trevor George

Jane Doe wrote in message ...

Jane - there's nothing you can do about that. It's the nature of HTML. If you
centre the table you'll get an equal space either end. At least that doesn't
look so bad. Alternatively make the table width 90% then it will read better,
especially on large monitors. Another option is to have the table background
colour the same as the page colour so nobody will notice the oddity.
 
T

Trevor George

Jane - Here's a quick few pages I knocked together quickly using your
slightly-modified mark up. The awful colours are used just to illustrate the
frames and the HTML is likely to be messy as it was done hurriedly. The link
target name has to be exactly the same as the target frame name. No mixing up
of CAPITALS and lower-case.

Click on http://onmy.sirium.net/temp/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top