hai everybody,

i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside.

anybody plz help me.

all the layout records display in one row.
plz help me.

<div id="myplans-create" >
    <div id="horiz_container_outer"   >
    <div id="horiz_container_inner" >
    <div id="horiz_container">

        <div id="myplans-show" style="position:absolute;height:100%;border: solid 1px #666666;width:100%;display:block;overflow-x: scroll; ">

            <div id="data"></div>


        <div id="search-results"></div>

        <div id="planpeople"> </div>

        <div id="myplans" style="display:block; float:left;  " >



    <?php 
        $i = 0;
        $unconfirmcount = 1;
        $confirmcount = 1;
        $i=0;
        for($i=0; $i<=12;$i++)
        if(!($i % 10) && $i==0)

        foreach($meetnewpeoples as $key=>$meetnewpeople_group): 
    ?>


        <div id="<?php print $key ?>">
        <?php 
        if($key=='previous') echo 'LOOKING BACK';
        else if($key=='current') echo 'TODAY';
        else if($key=='next') echo 'COMING UP';


        ?>
            <?php  
            if(count($meetnewpeople_group) >0): ?>  
                <?php 

                $i=0;
                for($i=0;$i<=12;$i++)
                foreach($meetnewpeople_group as $meetnewpeople): ?>

                    <?php

                    if($personal->getId() != $meetnewpeople['personal_id'])
                    {

                        //confirmed plans
                        if($meetnewpeople['status']=="Join")
                        {

                            ?>

                            <div class="recent-plans" style="border: 1px solid green; position:absolute;display:inline; float:left; " onmouseover="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')" onmouseout="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')">

                                <input type="hidden" value="<?php echo $meetnewpeople['id'] ?>" />
                                <span id="confirm<?php echo $confirmcount ?>" name="confirm<?php echo $confirmcount ?>" class="button-white">
                                    <?php echo $meetnewpeople['plantitle'] ?>
                                </span>
                                <br>
                                <img src="<?php echo url_for('@image_display_new?from='.$meetnewpeople['album_id'].'&type=plan&pic_id='.$meetnewpeople['main_picture_id']) ?>" alt="Plan picture" width="100" onclick="showPlan('<?php echo $meetnewpeople['id'] ?>')"/>
                                <br>
                                <span class="button-white">
                                    Date:<?php echo $meetnewpeople['date'] ?>
                                </span>
                                <div id="functions<?php echo $meetnewpeople['id'] ?>" style="display:none;" >
                                    <span class="button-white" id="button-like" value="<?php echo $meetnewpeople['id'] ?>">  Like Us on Facebook </span>
                                    <span class="button-white" id="button-share" value="<?php echo $meetnewpeople['id'] ?>"> Share </span>
                                    <?php
                                    if($meetnewpeople['date'] < date("Y-m-d")):
                                        ?>
                                        <span class="button-white" id="button-doagain" value=""><a href="meetnewpeople/new?doagain=yes&id=<?php echo $meetnewpeople['id'] ?>"> Do Again </a></span>
                                        <span class="button-white" id="button-leave" value="<?php echo $meetnewpeople['id'] ?>"> X </span>
                                        <?php
                                    endif;
                                    ?>

                                </div>

                            </div>

                            <?php 
                            $confirmcount ++;

                        }

                        else
                        {
                            ?>

                            <div class="recent-plans" style="border: 1px solid red; float:left;display:inline;" onmouseover="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')" onmouseout="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')">

                                <input type="hidden" value="<?php echo $meetnewpeople['id'] ?>" />
                                <span id="unconfirm<?php echo $unconfirmcount ?>" name="unconfirm<?php echo $unconfirmcount ?>" class="button-white">
                                    <?php echo $meetnewpeople['plantitle'] ?>
                                </span>
                                <br>
                                <img src="<?php echo url_for('@image_display_new?from='.$meetnewpeople['album_id'].'&type=plan&pic_id='.$meetnewpeople['main_picture_id']) ?>" alt="plan" width="100" onclick="showPlan('<?php echo $meetnewpeople['id'] ?>')"/>
                                <br>
                                <span class="button-white">
                                    Date:<?php echo $meetnewpeople['date'] ?>
                                </span>
                                <div id="functions<?php echo $meetnewpeople['id'] ?>" style="display:none;" >
                                    <span class="button-white" id="button-like" value="<?php echo $meetnewpeople['id'] ?>">  Like Us on Facebook </span>
                                    <span class="button-white" id="button-share" value="<?php echo $meetnewpeople['id'] ?>"> Share </span>
                                    <?php
                                    if($meetnewpeople['date'] < date("Y-m-d")):
                                        ?>
                                        <span class="button-white" id="button-doagain" value=""><a href="meetnewpeople/new?doagain=yes&id=<?php echo $meetnewpeople['id'] ?>"> Do Again </a></span>
                                        <?php
                                    endif;
                                    ?>
                                    <span class="button-white" id="button-leave" value="<?php echo $meetnewpeople['id'] ?>"> X </span>

                                </div>

                            </div>

                            <?php 
                            $unconfirmcount++;
                        }

                    } 

                    //creator section
                    else if($personal->getId() == $meetnewpeople['personal_id'])
                    { 
                        ?>
                        <div class="recent-plans" class="recent-plans" onmouseover="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')" onmouseout="toggleMouseOver('<?php echo $meetnewpeople['id'] ?>')">

                            <input type="hidden" value="<?php echo $meetnewpeople['id'] ?>" />
                            <span class="button-white">
                                <?php echo $meetnewpeople['plantitle'] ?>
                            </span>  
                            <br>
                            <img src="<?php echo url_for('@image_display_new?from='.$meetnewpeople['album_id'].'&type=plan&pic_id='.$meetnewpeople['main_picture_id']) ?>" alt="plan" width="100" onclick="showPlan('<?php echo $meetnewpeople['id'] ?>')"/>
                            <br>
                            <span class="button-white">
                                Date:<?php echo $meetnewpeople['date'] ?>
                            </span>
                            <div id="functions<?php echo $meetnewpeople['id'] ?>" style="display:none;" >
                                <span class="button-white" id="button-like" value="<?php echo $meetnewpeople['id'] ?>">  Like Us on Facebook </span>
                                <span class="button-white" id="button-share" value="<?php echo $meetnewpeople['id'] ?>"> Share </span>
                                <?php
                                if($meetnewpeople['date'] < date("Y-m-d")):
                                    ?>
                                    <span class="button-white" id="button-doagain" value=""><a href="meetnewpeople/new?doagain=yes&id=<?php echo $meetnewpeople['id'] ?>"> Do Again </a></span>
                                    <span class="button-white" id="button-delete" value="<?php echo $meetnewpeople['id'] ?>"> X </span>
                                    <?php
                                endif;
                                ?>
                            </div>

                        </div>
                        <?php
                    }


                endforeach ;
                ?>
                <?php 
            else:
                ?>
                <br>
                <span class="norecord" id="find-plan-mnp"> <a href="<?php echo url_for('@WhatsYourPlan')?>"> Find a plan to Join </a></span>
                <?php 
            endif;
            ?>
                </div>
                <?php
            endforeach 
            ?>

        </div>


    </div>

    </div>
    </div>
    </div>


</div>
Member Avatar for LastMitch

@Vijaysurya

i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside.
anybody plz help me.

It's a bit hard to assisted you when you never mention which line that has the div tag that doesn't display?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.