jasonc Posted August 8, 2009 Share Posted August 8, 2009 how do i place the logout link to the far right of a table? <style type="text/css"> .logoutright { position: relative; } </style> <table width="100%"> <tr> <td width="100%" valign="top"> <div class="center"> Welcome to the Members section </div> <div class="logoutright"> <a href="logout.php" class="logoutright">Logout</a> </div> </td> </tr> </table> at present it shows like this... Welcome to the Members section Logout but i would like it to show like this Welcome to the Members section Logout the welcome part completely centered and then the logout link added to the far right i have tried to use dreamweavers edit css feature but can not figure it out at all Quote Link to comment Share on other sites More sharing options...
smerny Posted August 8, 2009 Share Posted August 8, 2009 float:right the .logoutright Quote Link to comment Share on other sites More sharing options...
smerny Posted August 8, 2009 Share Posted August 8, 2009 and to be honest you shouldn't use tables for layout... and do you even have a css class for center? 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.