Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.html > #23974

Adding an element to the bottom of the body. Thats Easy, yes ?

From "R.Wieser" <address@is.invalid>
Newsgroups alt.html
Subject Adding an element to the bottom of the body. Thats Easy, yes ?
Date 2024-08-22 09:36 +0200
Organization A noiseless patient Spider
Message-ID <va6pr5$c00s$1@dont-email.me> (permalink)

Show all headers | View raw


Hello all,

I'm appending, using GreaseMonkey, an element to the body of a webpage. 
Although the appending itself works, the placement of the appended element 
sometimes causes a problem: it gets placed at the top, over the original 
contents.

The below URL is an example for when that it happens :

https://bugzilla.mozilla.org/show_bug.cgi?id=335545

I've been able to track the problem back to the '<div id="wrapper">' 
element, which gets a "position: absolute;" setting (removing/disabeling 
either the ID or the position moves the appended element back to the bottom, 
where its supposed to be).

The thing is that I'm looking for a generic (CSS) solution, not a 
page-specific one.

I've tried several things, including following the above div with another 
div containing the "clear: both" style, but nothing I try seems to work.

Does anyone have an idea what I would need to use for a generic solution ?

By the way, I've been humoring the thought of going thru all elements and 
attempt to remove any-and-all "position" settings, but that could be rather 
time-consuming - and I'm not even sure if it would work.

Regards,
Rudy Wieser

Back to alt.html | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Adding an element to the bottom of the body. Thats Easy, yes ? "R.Wieser" <address@is.invalid> - 2024-08-22 09:36 +0200
  Re: Adding an element to the bottom of the body. Thats Easy, yes ? JJ <jj4public@outlook.com> - 2024-08-22 20:11 +0700
    Re: Adding an element to the bottom of the body. Thats Easy, yes ? "R.Wieser" <address@is.invalid> - 2024-08-22 15:36 +0200
      Re: Adding an element to the bottom of the body. Thats Easy, yes ? JJ <jj4public@outlook.com> - 2024-08-23 14:27 +0700
        Re: Adding an element to the bottom of the body. Thats Easy, yes ? "R.Wieser" <address@is.invalid> - 2024-08-23 10:22 +0200
          Re: Adding an element to the bottom of the body. Thats Easy, yes ? JJ <jj4public@outlook.com> - 2024-08-23 23:16 +0700
            Re: Adding an element to the bottom of the body. Thats Easy, yes ? "R.Wieser" <address@is.invalid> - 2024-08-23 19:41 +0200
              Re: Adding an element to the bottom of the body. Thats Easy, yes ? JJ <jj4public@outlook.com> - 2024-08-25 00:03 +0700
                Re: Adding an element to the bottom of the body. Thats Easy, yes ? "R.Wieser" <address@is.invalid> - 2024-08-24 19:45 +0200

csiph-web