atholon Posted November 21, 2007 Share Posted November 21, 2007 Hi, I am trying to get these divs to go on the same line but aligned on opposite sides. Is it possible like this? echo (" <div align=\"left\"><b>$date</b></div>"); echo(" <div align=\"right\"><font color=\"#666666\" face=\"verdana, arial, sans-serif\"> "); echo(" <a href=\"$_SERVER[php_SELF]?view=editprog&iId=\">Edit</a>"); echo(" - <a href=\"$_SERVER[php_SELF]?view=deleteprog&iId=\">Delete</a></font>"); echo (" </div> "); Link to comment https://forums.phpfreaks.com/topic/78184-solved-same-line/ Share on other sites More sharing options...
phpQuestioner Posted November 21, 2007 Share Posted November 21, 2007 yes; use a css float style. example: <div style="float:left;clear:both"> </div> <div style="float:right;clear:both"> </div> Link to comment https://forums.phpfreaks.com/topic/78184-solved-same-line/#findComment-395652 Share on other sites More sharing options...
atholon Posted November 21, 2007 Author Share Posted November 21, 2007 muchas gracias you rock! thx Link to comment https://forums.phpfreaks.com/topic/78184-solved-same-line/#findComment-395659 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.