ebchost Posted December 9, 2011 Share Posted December 9, 2011 How to make equal height of borders (see the picture) Quote Link to comment Share on other sites More sharing options...
xyph Posted December 9, 2011 Share Posted December 9, 2011 Use CSS. Quote Link to comment Share on other sites More sharing options...
ebchost Posted December 9, 2011 Author Share Posted December 9, 2011 <div style='width: 603px; float:left; border-style: solid; border-width: 0px 1px 1px 1px;'> <div style='width: 30px; padding: 5px 10px 5px 10px; float: left; border-style: solid; border-width: 0px 1px 0px 0px; text-align:left; '><?php echo $i; ?></a></div> <div style='width:330px; padding: 5px 10px 5px 10px; float: left; border-style: solid; border-width: 0px 1px 0px 0px; text-align:left; '><?php echo "$sta_svrha_placanja <br> $sta_referenca <br> $sta_zaduzenje - $sta_odobrenje <br>"; ?></a></div> <div style='width: 80px; padding: 5px 10px 5px 10px; float: left; border-style: solid; border-width: 0px 1px 0px 0px; text-align:right; '><?php echo $sta_duguje; ?></a></div> <div style='width: 80px; padding: 5px 10px 5px 10px; float: left; border-style: solid; border-width: 0px 0px 0px 0px; text-align:right; '><?php echo $sta_potrazuje; ?></a></div> </div> Quote Link to comment Share on other sites More sharing options...
xyph Posted December 9, 2011 Share Posted December 9, 2011 Why are you using DIVs to display a TABLE? TABLES still exist in HTML for this reason. The move away from tables was meant for layout, not for data. 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.