tags:

views:

30

answers:

1

I want to make new blog landscape, so that entries read from left to right - I've not been able to find any information by googling, is there a simple code that will take care of this? Thanks

+2  A: 

The only technique I know of is to set a specific width on a container. Only forced widths will extend beyond the viewport width, everything else gets wrapped.

-------------
|  viewport |
| -------------------------
| |      #container       |
| -------------------------
-------------

#container {
    width: 2000px;
}

That unfortunately means you'll have to pre-calculate how wide your page needs to be, the content won't dynamically stretch the width the way it does height.

deceze
tables do as well, as you keep adding `td`s ... but that's a whole other topic ;)
Gaby
@Gaby Also a good one, but you'll still have to set fixed widths on the <td>s.
deceze
@deceze, true... you just avoid the pre-calculation of the whole page, but introduce the non-semantic table concept..
Gaby