raghu_tak Posted June 14, 2013 Share Posted June 14, 2013 Hi friends I am trying to align a picture grabbed from database in right side within fieldset. but this is not working please help me in it friends. echo'<fieldset style="width:400;align=center;"><legend>Your Profile</legend>'; echo'<table>'; echo'<tr><td>Name: '.$row['firstname'].' '.$row['lastname'].'</td>'; if(!empty($row['picture'])) { echo'<td><img src=" '.upath.$pic.' " alt="Image not found" width="80" height="80" align="middle"></td></tr><br/>'; } else { echo'<td><img src="images1/nopic.jpg" alt="Image not found" width="80" height="80" align="middle"></td></tr><br/>'; } Quote Link to comment Share on other sites More sharing options...
PravinS Posted June 14, 2013 Share Posted June 14, 2013 give 100% percent width to table tag and use align="right" in td tag 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.