473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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..

Mar 18 '08 #1
3 4034
On 2008-03-18, maya <ma********@yahoo.comwrote:
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.
Mar 18 '08 #2
Ben C wrote:
On 2008-03-18, maya <ma********@yahoo.comwrote:
>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..


Mar 18 '08 #3
maya wrote:
>
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
Mar 18 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: lkrubner | last post by:
I just noticed this when I was catching up on old posts: >Senator Jay Billington Bulworth Feb 3, 6:09 am >function getmicrotime(){ > list($usec, $sec) = explode(' ', microtime()); > ...
82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
1
by: Stan Brown | last post by:
On every page I have a <p ID="URhere"> that appears only when you print. (It's "display:none" in the general style sheet.) It would be nice if I could suggest that the browser print it at the...
13
by: Michael Hill | last post by:
I have created a test page with a window in it created by using divs, but I haven't figured out how to move the "down arrow" to the bottom of the main div. http://www.hulenbend.net/test2.html ...
17
by: kiplring | last post by:
float sum = (float)Math.Sqrt( floatA*floatA + floatB*floatB); I'm using DirectX with c#. But the Math class in .net framework has a problem. It is "double" base! So I'm doing type casting...
0
by: laredotornado | last post by:
Hello, I'm trying to write TABLE-free HTML pages, but I'm having a problem with rewriting a particular block of code using DIVs and CSS. I want to align the "More" button at the bottom right of...
10
by: yinglcs | last post by:
Hi, I have the following functions, but ' dx = abs(i2 - i1)/min(i2, i1)' always return 0, can you please tell me how can i convert it from an integer to float? def compareValue(n1, n2): i1 =...
16
by: DirtyHarry | last post by:
Good day everyone. This sounds like a stupid question, but I became just curious yesterday, and I looked up several textbooks. However, no textbooks on computer language (that I have ) mentioned...
35
by: bala.pandu | last post by:
Hello Everyone, When i am assigning a float value and try to print the same, i found the value stored is not the exact value which i gave. int main() { float f1; printf("Enter a float value...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.