![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear NG-readers, I want to align text right to an image. The last line of text should align with the bottom edge of the image. Unfortunately, the results using my poor CSS knowledge mounted in text which starts at the bottom line of the image and continues below. For an example go here: http://tomasio.at/temp/test_valign.html I want to achieve the following look: http://tomasio.at/temp/correct.html Does anybody could give me a hint what I am doing wrong? kind regards, |
#3
| |||
| |||
|
|
Once upon a time *tomasio* wrote: Dear NG-readers, I want to align text right to an image. The last line of text should align with the bottom edge of the image. Unfortunately, the results using my poor CSS knowledge mounted in text which starts at the bottom line of the image and continues below. For an example go here: http://tomasio.at/temp/test_valign.html I want to achieve the following look: http://tomasio.at/temp/correct.html Does anybody could give me a hint what I am doing wrong? kind regards, Something like this may work? div class="indent"> <img src="images/jan_bild.jpg" style="float: left; margin-right: 10px;" alt="image" height="150" width="145" p style="margin-top: 60px;">this text should float the image on theleft side, but the last line of text should end with the bottom line of the image.</p /div Thanks a lot, Arne, that is a step towards the solution of the desired |
#4
| |||
| |||
|
|
I want to align text right to an image. The last line of text should align with the bottom edge of the image. Unfortunately, the results using my poor CSS knowledge mounted in text which starts at the bottom line of the image and continues below. For an example go here: http://tomasio.at/temp/test_valign.html I want to achieve the following look: http://tomasio.at/temp/correct.html |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
tomasio <frognsnedso (AT) bled (DOT) de> wrote: I want to align text right to an image. The last line of text should align with the bottom edge of the image. Unfortunately, the results using my poor CSS knowledge mounted in text which starts at the bottom line of the image and continues below. For an example go here: http://tomasio.at/temp/test_valign.html I want to achieve the following look: http://tomasio.at/temp/correct.html title>CSS Tutorial</title>? Doing this "properly" requires browser support for CSS tables (not supported by IE): http://homepage.ntlworld.ie/spartanicus/temp.htm |
#7
| |||
| |||
|
|
If it were me, I would use tables. Of course I use CSS as well, but for this application, what could be simpler? table cellpadding=6 tr td>the image</td td valign=bottom>the text</td /tr /table Set width of TDs and Table to taste. Serves a good page. Sid |
![]() |
| Thread Tools | |
| Display Modes | |
| |