Element dimensions in Netscape 4.5 (already posted in n.p.d.c)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Markus Ernst

    Element dimensions in Netscape 4.5 (already posted in n.p.d.c)

    Sorry for the multipost, there was no reaction in netscape.public .dev.css.

    Is it possible to make Nescape 4.5+ display this element:

    #detailXplan {
    position:absolu te;
    top:0px;
    left:254px;
    width:506px;
    height:530px;
    visibility:visi ble;
    z-index:2;
    background-color:#ffffff;
    layer-background-color:#ffffff;
    overflow:auto;
    }

    506 pixel wide and 530 pixel high if there is not much content, without
    using a table and transparent gifs, and without violating the standards any
    more? Actually it shrinks the element size to the amount of content.

    --
    Markus


  • Martin Honnen

    #2
    Re: Element dimensions in Netscape 4.5 (already posted in n.p.d.c)



    Markus Ernst wrote:

    [color=blue]
    > Is it possible to make Nescape 4.5+ display this element:
    >
    > #detailXplan {
    > position:absolu te;
    > top:0px;
    > left:254px;
    > width:506px;
    > height:530px;
    > visibility:visi ble;
    > z-index:2;
    > background-color:#ffffff;
    > layer-background-color:#ffffff;
    > overflow:auto;
    > }
    >
    > 506 pixel wide and 530 pixel high if there is not much content, without
    > using a table and transparent gifs, and without violating the standards any
    > more? Actually it shrinks the element size to the amount of content.[/color]

    If you want to have layer-background-color cover a rectangle of a
    certain width and height for NN 4 you need to use
    clip: rect(0px, 506px, 530px, 0px);
    Of course content will be clipped and overflow is not supported.

    --

    Martin Honnen

    Comment

    • Markus Ernst

      #3
      Re: Element dimensions in Netscape 4.5 (already posted in n.p.d.c)

      Martin Honnen wrote:[color=blue]
      > If you want to have layer-background-color cover a rectangle of a
      > certain width and height for NN 4 you need to use
      > clip: rect(0px, 506px, 530px, 0px);[/color]

      Thank you, that helps me a lot.
      [color=blue]
      > Of course content will be clipped and overflow is not supported.[/color]

      As long as it does not disturb modern browsers - who would ask for more :-)

      Cheers
      Markus


      Comment

      Working...