Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    Vermont, United States
    Posts
    39
    Plugin Contributions
    0

    Idea or Suggestion stick an image to the bottom of a div?

    Good evening,

    Has anyone seen a css technique of anchoring an image to the bottom of a div? My intent is to anchor a stacked pair of divs to the browser bottom (done), and have a third div anchored to the top of the browser window (done). Width: 100% on all three divs (done). z-index:1 on the topmost div (the header div).

    Now, as the site appears on a visitor's screen (one that has generous vertical real estate) they can drag the window down (expanding it) and more and more of the middle div displays itself, out from underneath the topmost div.

    For conversation, I refer to these three divs as "header div", "stage div", and "footer div". footer div shall always have a the same 250px height. header div shall always have the same 100px height.

    and here is my difficulty...: stage div shall always be anchored to the top of footer div, but "appear" more and more out from underneath header div as the page is expanded downwards.

    Please throw ideas my way as they occur to you. The results must be platform/browser independent and primarily css driven, in the spirit of the zen-cart template system).

    Respectfully,
    Ian Sears
    "The answers to all the questions we could possibly think to ask, are right there in front of us.
    It is the wisdom, to ask the correct questions, that we lack."
    --- Albert Einstein

  2. #2
    Join Date
    Jan 2004
    Location
    Vermont, United States
    Posts
    39
    Plugin Contributions
    0

    Default Some examples to explain my question...

    http://iansears.com/liquid/liquid_example.html
    This is an html tables version that explains the idea. (and)

    http://iansears.com/liquid/liquid_css_example.html
    And this one is the page drawn up in css. Please help me properly clip the bg image and basicly implement z-index and position absolute/relative.

    <a href="http://iansears.com/liquid/thumbnail.jpg"><img src="http://www.iansears.com/liquid/th_thumbnail.jpg border="0"></a>


    I wrote text of the two example pages about what each does and does not do for me.

    Any help is welcome.
    Respectfully, Ian Sears
    "The answers to all the questions we could possibly think to ask, are right there in front of us.
    It is the wisdom, to ask the correct questions, that we lack."
    --- Albert Einstein

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: stick an image to the bottom of a div?

    I see what you are attempting I think.

    This only functions as described when the browser is not at full screen. Question: How many people will view this at less than full screen? One can also, using the mouse, place the cursor into the text area and cause it to scroll up/down. But there is no explanation for this and some might not find that this is possible.

    Would a scroll bar for this text box be acceptable? As most viewers would know what and how to use this. Or would this not be inline with what you are trying to style?
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v153 insert an image at the bottom of the catorgories page
    By premint in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 1 Jan 2015, 11:51 AM
  2. Replies: 5
    Last Post: 28 Feb 2014, 12:30 PM
  3. background image moved to the bottom edge of the web page
    By rdcast in forum Templates, Stylesheets, Page Layout
    Replies: 24
    Last Post: 3 May 2011, 04:43 PM
  4. How do i move the EZPages menu bar to the bottom of the banner image?
    By frogpounder in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 May 2009, 04:06 PM
  5. Trying ot remove the image at the bottom of my pages
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Aug 2006, 05:51 AM

Posting Permissions

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