?
Solved

Smooth table or frame in netscape

Posted on 1999-09-08
5
Medium Priority
?
267 Views
Last Modified: 2008-02-26
I'm creating a frameset without any borders. In fact there are 3 frames, each containing 1 picture. Because there are no borders, the pictures should exactly fit together. In explorer this is indeed the case, but netscape displays a white part between the pictures. Any hints?

The code:
<frameset rows="88,*" BORDER="FALSE" FRAMEBORDER="0" FRAMESPACING="0">
    <frameset cols="150,*,220">
      <frame name="ltitle" src="left.htm" scrolling="no" marginwidth="1" marginheight="1" noresize>
      <frame name="mltitle" src="middle.htm" scrolling="no" marginwidth="0"
      marginheight="1">
      <frame name="mtitle" src="right.htm" scrolling="no" marginwidth="0"
      marginheight="1" noresize>
    </frameset>
    <frame name="main" src="main.htm" scrolling="auto" marginwidth="8" marginheight="2">
</Frameset>
  <noframes>
  <body>
  <p>This page uses frames, but your browser doesn't support them.</p>
  </body>
  </noframes>

the files left,main,right contain:
<IMG SRC="x.gif" BORDER="0" VSPACE="0" HSPACE="0">

0
Comment
Question by:leon321
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 5

Expert Comment

by:andriv
ID: 2031286
try border="no"
0
 
LVL 4

Expert Comment

by:brigmar
ID: 2031323
What you're seeing is the 1 pixel border netscape places around a document.

Possible workarounds:

The images can be used as backgrounds (put them in the "background" attribute of the <body> tag). This will repeat the images, unless you change the images so they are so large they wont tile.

Use CSS-P and <div> tag to enclose everything inside the <body> tag.

so..

<body>
<div id="wholebody" style="position:absolute; left:0px; top:0px;">
...content..
</div>
</body>

This means that any scripts that reference objects inside your document need to be modified for Netscape, which sees each <div> as an embedded document.

So,
document.images[0]
would become
document.layers[0].document.images[0]
for Netscape.

IE will still be able to use the document.all.images[0] reference.

Hope that is of use.
Brian
0
 

Author Comment

by:leon321
ID: 2031424
Brian,

Your comment helped!, the background tip did the trick!
Please "answer" to get the deserved points...

Thanks,
Regards,
Leon.
0
 
LVL 4

Accepted Solution

by:
brigmar earned 400 total points
ID: 2031439
What you're seeing is the 1 pixel border netscape places around a document.

Possible workarounds:

The images can be used as backgrounds (put them in the "background" attribute of the <body> tag). This will repeat the images, unless you change the images so they are so large they wont tile.

Use CSS-P and <div> tag to enclose everything inside the <body> tag.

so..

<body>
<div id="wholebody" style="position:absolute; left:0px; top:0px;">
....content..
</div>
</body>

This means that any scripts that reference objects inside your document need to be modified for Netscape, which sees each <div> as an embedded document.

So,
document.images[0]
would become
document.layers[0].document.images[0]
for Netscape.

IE will still be able to use the document.all.images[0] reference.

Hope that is of use.
Brian
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6817857
Fixed the -1 problem on this question.
All points have been verified. Experts will now get the points you originally tried to award.
Moondancer
Moderator @ Experts Exchange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question