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> "); Quote Link to comment 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> Quote Link to comment Share on other sites More sharing options...
atholon Posted November 21, 2007 Author Share Posted November 21, 2007 muchas gracias you rock! thx 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.