HighDots Forums  

no float:bottom -- what can be used instead??

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss no float:bottom -- what can be used instead?? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
maya
 
Posts: n/a

Default no float:bottom -- what can be used instead?? - 03-18-2008 , 10:40 AM






hi,

pls take a look,
http://www.mayacove.com/misc/ss_html.gif

I need the blue image ("reading is fundamental") to be at the bottom...

the hight of content at the left will vary, but that image needs to be
right on top of footer links, not "hanging" from links on the right.

the whole thing is done in a table and I just would like to be put the
blue img in a div and somehow tell it to valign the div to the bottom
(put height="100%" for the table on the right, hoping it would stretch
that table down to cover height of content on the left, but it's being
ignored.. yes I know, this is not good practice, but trying anything
that works at this point..)

I can't put the blue img in row where footer links are, b/c then it
would look like this: http://www.mayacove.com/misc/ss_html2.gif (lines a
bit rough here, just dragged it down to show what I mean..)

thank you..






Reply With Quote
  #2  
Old   
Ben C
 
Posts: n/a

Default Re: no float:bottom -- what can be used instead?? - 03-18-2008 , 01:35 PM






On 2008-03-18, maya <maya778899 (AT) yahoo (DOT) com> wrote:
Quote:
hi,

pls take a look,
http://www.mayacove.com/misc/ss_html.gif

I need the blue image ("reading is fundamental") to be at the bottom...

the hight of content at the left will vary, but that image needs to be
right on top of footer links, not "hanging" from links on the right.

the whole thing is done in a table and I just would like to be put the
blue img in a div and somehow tell it to valign the div to the bottom
(put height="100%" for the table on the right, hoping it would stretch
that table down to cover height of content on the left, but it's being
ignored.. yes I know, this is not good practice, but trying anything
that works at this point..)

I can't put the blue img in row where footer links are, b/c then it
would look like this: http://www.mayacove.com/misc/ss_html2.gif (lines a
bit rough here, just dragged it down to show what I mean..)

thank you..
You need to use absolute positioning. Set the image's container to
position: relative, and set the image to position: absolute and bottom:
0.

If the container is a table cell this isn't going to work in Firefox (it
doesn't let table cells be positioned containing blocks).

You can use vertical-align: bottom on table cells but it's difficult to
know exactly what structure you've got as you haven't posted a URL.


Reply With Quote
  #3  
Old   
maya
 
Posts: n/a

Default Re: no float:bottom -- what can be used instead?? - 03-18-2008 , 01:58 PM



Ben C wrote:
Quote:
On 2008-03-18, maya <maya778899 (AT) yahoo (DOT) com> wrote:
hi,

pls take a look,
http://www.mayacove.com/misc/ss_html.gif

I need the blue image ("reading is fundamental") to be at the bottom...

the hight of content at the left will vary, but that image needs to be
right on top of footer links, not "hanging" from links on the right.

the whole thing is done in a table and I just would like to be put the
blue img in a div and somehow tell it to valign the div to the bottom
(put height="100%" for the table on the right, hoping it would stretch
that table down to cover height of content on the left, but it's being
ignored.. yes I know, this is not good practice, but trying anything
that works at this point..)

I can't put the blue img in row where footer links are, b/c then it
would look like this: http://www.mayacove.com/misc/ss_html2.gif (lines a
bit rough here, just dragged it down to show what I mean..)

thank you..

You need to use absolute positioning. Set the image's container to
position: relative, and set the image to position: absolute and bottom:
0.

If the container is a table cell this isn't going to work in Firefox (it
doesn't let table cells be positioned containing blocks).

You can use vertical-align: bottom on table cells but it's difficult to
know exactly what structure you've got as you haven't posted a URL.
thank you.. I solved prob by taking out the table and simply adding
another row for that img (and putting 'rowspan=2' in adjacent <td>) like
that I put "valign=bottom" in 2nd row where that img is.. and that was
it....

but interesting what you suggest.. I had thought you cannot position any
element absolutely inside an element that is not itself positioned
absolutely..


thank you very much..










Reply With Quote
  #4  
Old   
Bergamot
 
Posts: n/a

Default Re: no float:bottom -- what can be used instead?? - 03-18-2008 , 05:31 PM



maya wrote:
Quote:
I had thought you cannot position any
element absolutely inside an element that is not itself positioned
absolutely.
Take that statement and delete the last word, then you're closer to the
truth. Now go read
http://brainjar.com/css/positioning/

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.