how to make Text on the right side in php?

Discussion in 'HTML & Website Design' started by ali123, Feb 6, 2009.

  1. #1
    Hey guys instead of having my text display one under another I was wondering if you could make the other text on the right side?

    this is how it originally is:

    Title:
    phpcode
    blabla
    blabla
    blabla

    Title:
    phpcode
    blablabla
    blablabla

    I would like it to be like this
    Title: Title:
    blabla blabla
    blabla blabla
    blabla blabla

    Here are the 2 codes:
    1)

    <strong><font size="2">Recently Added</font></strong>

    <?php wp_get_archives('title_li=&type=postbypost&limit=10'); ?>

    2)

    <strong><font size="2">Most Viewed</font></strong>

    <?php if (function_exists('get_most_viewed')): ?>

    <?php get_most_viewed('post', 10); ?>


    <?php endif; ?>


    if you go to my site http://anime3.net you can see that on the main page most viewed and recently added are right under each other. sorry if I made this sound more complicated than it is lolz.

    thank you, Ali
     
    ali123, Feb 6, 2009 IP
  2. PHPGator

    PHPGator Banned

    Messages:
    4,437
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    260
    #2
    This should probably be done using div's if you want to do it the right way. It might be kind of difficult and lengthy to explain here. I would recommend searching on a tutorial for "3 column CSS layout tutorial"
     
    PHPGator, Feb 6, 2009 IP
    ali123 likes this.
  3. ali123

    ali123 Peon

    Messages:
    593
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Already fixed but thanks for the response! repped
     
    ali123, Feb 6, 2009 IP