ebchost Posted December 9, 2011 Share Posted December 9, 2011 How to make equal height of borders (see the picture) Link to comment https://forums.phpfreaks.com/topic/252852-div-borders-equals-height/ Share on other sites More sharing options...
xyph Posted December 9, 2011 Share Posted December 9, 2011 Use CSS. Link to comment https://forums.phpfreaks.com/topic/252852-div-borders-equals-height/#findComment-1296354 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> Link to comment https://forums.phpfreaks.com/topic/252852-div-borders-equals-height/#findComment-1296361 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. Link to comment https://forums.phpfreaks.com/topic/252852-div-borders-equals-height/#findComment-1296362 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.