PDA

View Full Version : Vertical-align????


Geforc3
01-05-2003, 05:13 AM
Someone knows how you can align a picture to the bottm of a table???

Without the rest of the content aligns with that picture??

ByteWizard
01-05-2003, 05:33 AM
1) Dont use tables, use <div> instead

OR

2) Add another <tr> to the bottom of the table. Use one <td> that spans all the columns of the existing table.

Geforc3
01-05-2003, 06:15 AM
i would hope there is a code like this

<vertical-align="bottom">
<valign="bottom">

or something like that

ByteWizard
01-05-2003, 06:47 AM
I wasn't paying close enough attention when I read your post and told you how to align the picture with all the other rows.

Do you want the picture to appear immediately after the last row in the table? To the right of the table but at the bottom? Not sure exactly where you want the pic.

Geforc3
01-05-2003, 06:57 AM
on this site i have a problem problem page (http://www.xs4all.nl/~thde/wf/members_geforc3.html)

and in the content table there is

-[WF]-Dopedaap
-[WF]-Geforc3

and then the picture (and the pictures has to align at the bottom of that table and i don't know how??)

i can do it with <br> but that is not nice looking

DCElliott
01-05-2003, 09:56 AM
Why don't you make the picture part of the cell background?
Or create a table in table (shudder at the thought) with the
-[WF]-Dopedaap
-[WF]-Geforc3
in the top row|cell and
<img . . . />
positioned at the bottom of the second row|cell
Or make a absolutely positioned div with {display:block; position:absolute; top:auto; left:auto; bottom: 0; right:0;} or something like that.

Geforc3
01-05-2003, 11:16 AM
i have used <br> i can find an other way that works!!

I have tryed a table but didn't work.............................

Cagez
01-05-2003, 01:58 PM
<img src="" valign="bottom">
?

Geforc3
01-06-2003, 04:28 AM
Nope that doesn't work!! I'm going to :'(

Geforc3
01-06-2003, 08:09 AM
then the
-[WF]-Dopedaap
-[WF]-geforc3

aligns with the image and only the image has to align

DCElliott
01-06-2003, 08:11 AM
But Geforc3 wants to have his cake and eat it, too:Someone knows how you can align a picture to the bottm of a table???

Without the rest of the content aligns with that picture?? He wants text aligned top and picture aligned bottom.

ByteWizard
01-06-2003, 08:51 AM
You need to have a table with 3 columns and two rows. The first two columns span two rows. In the third column, valign the text at the top and the image at the bottom.

ByteWizard
01-06-2003, 08:52 AM
The correct syntax is

<td valign="bottom"><img src=xxxxx>......

Geforc3
01-06-2003, 09:13 AM
i will use <br> nothing works!!! :(

ByteWizard
01-06-2003, 04:24 PM
Are you saying you created a 3C 2R table and you could not get the image to vertically align with the bottom of the data cell?

Geforc3
01-07-2003, 10:46 AM
I will try that to................ Hope that works :rolleyes: