Welcome visitor
* Login
* Register
It is currently July 20th, 2019, 5:05 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  Aligment inside a cell
PostPosted: September 22nd, 2009, 9:46 pm 

Posts: 23
Can somebody help me with this alignment problem?
I have an image inside a cell on my table and on after the image, on the same cell, some text. What i want to do is to align the image on the bottom of the cell and the text on the top. Can i have 2 different vertical alignments on the same cell?

Thank you.


Top
 Profile  
 
  Re: Aligment inside a cell
PostPosted: September 23rd, 2009, 7:23 am 
User avatar

Posts: 52
why not using 2 cells and collspan?


Top
 Profile  
 
  Re: Aligment inside a cell
PostPosted: September 23rd, 2009, 8:20 am 
User avatar

Posts: 48
this CSS will align the text to the upper side of the image, hth
td{vertical-align:bottom}
#tx{vertical-align:top}
<td id="pict"><img src="image.src" /><span id="tx">text<span></td>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron