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/>'; } Link to comment https://forums.phpfreaks.com/topic/279142-align-picture-within-fieldset-help/ 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 Link to comment https://forums.phpfreaks.com/topic/279142-align-picture-within-fieldset-help/#findComment-1435918 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.