Guest SwordKing Posted June 10, 2006 Share Posted June 10, 2006 Hey dudes.I got one simple question, but didn't even know the answer.There is a table, like[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<table height="100" width="100"><tr><td>[Image here]</td></tr></table>[/quote]And e.g. a smilie.I want that image at the bottom of the table without using commands, like <p> or <br> ![img src=\"http://swordking.gfx-networks.de/image1.jpg\" border=\"0\" alt=\"IPB Image\" /]Please help me.- Roland Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 10, 2006 Share Posted June 10, 2006 <td [b]valign="bottom"[/b] ....> Quote Link to comment Share on other sites More sharing options...
Guest SwordKing Posted June 10, 2006 Share Posted June 10, 2006 [!--quoteo(post=382199:date=Jun 10 2006, 01:55 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Jun 10 2006, 01:55 PM) [snapback]382199[/snapback][/div][div class=\'quotemain\'][!--quotec--]<td [b]valign="bottom"[/b] ....>[/quote]<td valign="bottom" >doesn't work !I tried at before I opened the topic. I can give you the full code :[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<table cellspacing="0" cellpadding="0"><tr><td valign="bottom"><img src="images/footer.jpg"></td></tr></table>[/quote] Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 10, 2006 Share Posted June 10, 2006 Works for me with Firefox.[code]<table border=1><tr><td valign="bottom"><img src="test_image.jpg" width="140" height="140" alt="" border="0"></td><td><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p></td></tr></table>[/code] Quote Link to comment Share on other sites More sharing options...
.josh Posted June 12, 2006 Share Posted June 12, 2006 [!--quoteo(post=382204:date=Jun 10 2006, 07:10 AM:name=SwordKing)--][div class=\'quotetop\']QUOTE(SwordKing @ Jun 10 2006, 07:10 AM) [snapback]382204[/snapback][/div][div class=\'quotemain\'][!--quotec--]<td valign="bottom" >doesn't work !I tried at before I opened the topic. I can give you the full code :[code]<table cellspacing="0" cellpadding="0"><tr><td valign="bottom"><img src="images/footer.jpg"></td></tr></table>[/code][/quote]your code does work. but since there is no height defined in the table tag, and all you have is an image inside your td tags, it won't *look* like it's aligned at the bottom, because it embodies the entire space of the td. you need to add a height=xx inside your table tags. Quote Link to comment Share on other sites More sharing options...
Guest SwordKing Posted July 25, 2006 Share Posted July 25, 2006 Finally I added [b]padding-top: 5px;[/b] and [b]padding-bottom: 5px;[/b] in my Stylesheet and it works perfectly :)Thank you for your ideas anyway ! Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 25, 2006 Share Posted July 25, 2006 [quote author=SwordKing link=topic=95508.msg402954#msg402954 date=1153790409]Thank you for your ideas anyway ![/quote]sigh! Our ideas did exactly what you asked for. I don't see how padding made the image align exactly at the bottom. whatever Quote Link to comment Share on other sites More sharing options...
Guest SwordKing Posted July 25, 2006 Share Posted July 25, 2006 Sorry. You are right, Andy. I found a solution for a different question, that I wanted to post. Crayon Violent gave the correct answer to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.