SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Position bottom by page size not screen size

    OK, here's my best ascii rendition of what I'm after. The two [img] are a single image overlaying the colored bar on the bottom and the white page content above.

    __________[img]__
    =========[img]==
    ===============

    I am trying to position an image on the bottom of a webpage above the footer table layer (basically a solid color bar). I have a wrapper table set to 100% height so that the footer table is always on the bottom - no matter the page length.

    Here's the image I am trying to position

    <img src="img/bottom-corner.gif" style="position:absolute; bottom: 20px; right: 50px; zindex=10" width="211" height="245">

    This works (and looks) great until the page length is more than one screen. Seems that it is positioned according to the screen and no the page. I've tried all I know, putting a table around the image and positioning that. I even tried a <div> around the whole document.
    Last edited by joshX; Sep 28, 2002 at 10:19.

  2. #2
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if the image is the last element, then it should allways apear at the bottom provided you are using relative positioning, how come your using absolute?

  3. #3
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because the image is like 250 pixel height if I put it at the bottom, it leaves whitespace at the bottom despite the image being located correctly. I'm sure there's a fix for this.

    Thanks,

  4. #4
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would it be possible to see the page live, im sure i could probably get you a fix for it if i could see whats causing the problem.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •