[help]how to align these three in same line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [help]how to align these three in same line

    how to align these three in same line..............show in image

    Click image for larger version

Name:	72447_10200362452937861_1332657125_n.jpg
Views:	1
Size:	12.8 KB
ID:	113040

    i try this code but now work....with my php code <div style = "text-align:left; float:left;">

    any budy tell me my php code is

    PHP Code:
    print "<div class='row1'><a rel=\"follow\" href=\"".$config->url."f/".$forum->forumid."/".converturl($forum->name).".html\" title=\"".$forum->description."\">".$forum->name."</a><br/>$forum->description";


    print 
    "<center> Topics:".$forum->numtopics."";
    print 
    "<br/>Posts:".$forum->numposts."";
    if(
    $forum->lastposttime=="" || $forum->lastposttime=="0")
    $us="Never</center>"; }
    else
    {
    $timepostforum=$forum->lastposttime;
    $timepostforum=timez($timepostforum);
    $us=$timepostforum."<br/>Last post by: <b><font color=\"#FF00FF\">".getusernamebyid($forum->lastpostid)."</font></b>";
    }
    print 
    "<br>".$us;
    print 
    "</div>"
    give me idea if u knw ...........
    Last edited by 12345xmen; 07.03.13, 10:10.

    #2
    PHP Code:
    print "<div class='row1'><a rel=\"follow\" href=\"".$config->url."f/".$forum->forumid."/".converturl($forum->name).".html\" title=\"".$forum->description."\">".$forum->name."</a> $forum->description";
    print 
    " Topics:".$forum->numtopics."";
    print 
    " Posts:".$forum->numposts."";
    if(
    $forum->lastposttime=="" || $forum->lastposttime=="0")
    $us="Never"; }
    else
    {
    $timepostforum=$forum->lastposttime;
    $timepostforum=timez($timepostforum);
    $us=$timepostforum." Last post by: <b><font color=\"#FF00FF\">".getusernamebyid($forum->lastpostid)."</font></b>";
    }
    print 
    $us;
    print 
    "</div>"
    Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

    Comment


      #3
      who the hell printss html using php, use a template engine.

      Comment

      Working...
      X