thanks Richard. but it didn't work. table works.

<h1>Test </h1>
<div class="row">
 <div class="col-sm-6">11111</div>
 <div class="col-sm-6">22222</div>
</div>
<div class="row">
 <div class="col-sm-6">11111</div>
 <div class="col-sm-6">22222</div>
</div>
<div class="row">
 <div class="col-sm-6">11111</div>
 <div class="col-sm-6">22222</div>
</div>

<table class="table">
    <tr>
        <td>
            <div>1</div>
            <div>2</div>
            <div>3</div>
        </td>
        <td>
            <div>4</div>
            <div>5</div>
            <div>6</div>
        </td>
    </tr>
</table>


this code in browser look like this:

<https://lh3.googleusercontent.com/-lWuOTZun4xc/VldPqwRParI/AAAAAAAAIik/D0HFLUb9CJU/s1600/html.PNG>



in browsers print page:


<https://lh3.googleusercontent.com/--5lUS1hE0Gw/VldP0_72GHI/AAAAAAAAIis/jLo741vEVEU/s1600/print.PNG>



now, the question is, how can i sort items of a list using for statement?






26 Kasım 2015 Perşembe 20:16:45 UTC+2 tarihinde Richard yazdı:
>
> Did you surround you col-sm-6 div by a class=row div?
>
> On Thu, Nov 26, 2015 at 12:50 PM, Selman Kocael <[email protected] 
> <javascript:>> wrote:
>
>> I want to print a page like this:
>>
>>
>> [image: Satır içi resim 2]
>>
>> but in google chrome's print page it looks like this: 
>>
>> [image: Satır içi resim 3]
>>
>>
>> how can I do two column.
>>
>> i tried this in divs with class col-sm-6.
>>
>> thanks.
>>
>> -- 
>> Selman Kocael
>> İsabet Yayınları
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to