Don't show white line separating frames?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kai Grossjohann

    Don't show white line separating frames?

    Consider this frame definition:

    <html>
    <frameset rows="50%,50%">
    <frame frameborder="0" src="one.html">
    <frame frameborder="0" src="two.html">
    </frameset>
    </html>

    And the two frames both look like this:

    <html><body style="backgrou nd-color: lightgrey">
    </body></html>

    Then IE 6 and Mozilla 1.4 will show a homogeneous grey area, except
    where the frames meet. There, IE 6 will display a two pixels wide
    strip which is white. Mozilla does similar, except that the strip is
    wider.

    Is there a way to make this strip appear lightgrey, too?

    Kai
  • Andreas Prilop

    #2
    Re: Don't show white line separating frames?

    Kai Grossjohann <kai@emptydomai n.de> wrote:
    [color=blue]
    > Consider this frame definition:[/color]

    Consider to avoid frames.

    --
    Top posting.
    What's the most irritating thing on Usenet?

    Comment

    • Graham J

      #3
      Re: Don't show white line separating frames?

      > Then IE 6 and Mozilla 1.4 will show a homogeneous grey area, except[color=blue]
      > where the frames meet. There, IE 6 will display a two pixels wide
      > strip which is white. Mozilla does similar, except that the strip is
      > wider.
      >
      > Is there a way to make this strip appear lightgrey, too?[/color]

      Assuming you really, really, do want to use frames, you will need to depart
      from the HTML 4.01 Frameset standard to get satisfactory results in various
      browsers.

      Adding border="0" to the <frameset ...> seems to deal with the problem in
      both IE6 and Mozilla Firebird.

      Having framespacing="0 " in the <frameset ...> seems to deal with the problem
      in IE6 only.

      Opera 7.2 seems to get it right to start with and I haven't checked any
      others.

      Other browsers might require a variation on the theme involving different
      combinations of attributes and the element they need to be attached to
      (<frame> or <frameset>) so it might be easiest, and indeed best, to throw in
      the kitchen sink and go for...

      <html>
      <frameset frameborder="0" border="0" framespacing="0 " rows="50%,50%">
      <frame frameborder="0" border="0" framespacing="0 " src="one.html">
      <frame frameborder="0" border="0" framespacing="0 " src="two.html">
      </frameset>
      </html>

      ....and see how far that gets you.

      Comment

      • Kai Grossjohann

        #4
        Re: Don't show white line separating frames?

        "Graham J" <me@privacy.net > writes:
        [color=blue]
        > <html>
        > <frameset frameborder="0" border="0" framespacing="0 " rows="50%,50%">
        > <frame frameborder="0" border="0" framespacing="0 " src="one.html">
        > <frame frameborder="0" border="0" framespacing="0 " src="two.html">
        > </frameset>
        > </html>[/color]

        Cool! That's what I will try.

        Kai

        Comment

        Working...