Jump to content

Using CSS to control php elements


seany02

Recommended Posts

Ok so I have this piece of php. I want to send it to the far right hand side of the page. How would I position this with css?

 

 

<?php

 

 

include("config.php");

 

       

        $result = mysql_query("SELECT * FROM news ORDER BY newsid DESC",$connect);

       

        while($myrow = mysql_fetch_array($result))

            {

              echo "<b>Title: ";

              echo $myrow['title'];

              echo "</b><br>On: <i>";

              echo $myrow['dtime'];

              echo "</i><hr align=left width=160>";

              echo $myrow['text1'];

             

              echo "<br><a href=\"read_more.php?newsid=$myrow[newsid]\">Read More...</a>

                || <a href=\"edit_news.php?newsid=$myrow[newsid]\">Edit</a>

                || <a href=\"delete_news.php?newsid=$myrow[newsid]\">Delete</a><br><hr>";

            }

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.