How do I get these two php codes to display side by side?

Discussion in 'CSS' started by mike323, Feb 12, 2010.

  1. #1
    I want these two php feeds to display their two twin video players side by side.

    How can I do this?

    I tried division tags but it didn't work. Anybody know how to do this?

    If you can do this can you send me the code too?

    Thanks.

    <?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?><?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?>
    Code (markup):
     
    mike323, Feb 12, 2010 IP
  2. pmek

    pmek Guest

    Messages:
    101
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You just need to float two divs next to eachother.

    .videodiv {float:left; display:inline; width:??px; height:??px;}

    then wrap these like so:

    <div class="videodiv"><?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?></div>
    <div class="videodiv"><?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?></div>
     
    pmek, Feb 12, 2010 IP