Welcome Guest, Not a member yet? Register   Sign In
how to show thumbs images in horizontal row
#1

[eluser]schidy[/eluser]
I am trying to use this below code to display thumb images in a line. But output images are printed one below the other.

kindly help me out to identify the problem here..

Code:
<?php foreach($itemlist as $item):?>
            <div class=\"listitems\">
                
                <a >
                    <img >
                    <br>
                    &lt;?php echo $item['content_title'] ;?&gt;</a>
                </div>
        
        &lt;?php endforeach;?&gt;
#2

[eluser]Sarre[/eluser]
you could add a css rule that floats them "left"
e.g.
<div class=".." style="float:left"></div>
#3

[eluser]schidy[/eluser]
hey sarre, it worked. thanks.




Theme © iAndrew 2016 - Forum software by © MyBB