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
2010-07-17 02:04:09
tables do as well, as you keep adding `td`s ... but that's a whole other topic ;)
Gaby
2010-07-17 02:29:32
@Gaby Also a good one, but you'll still have to set fixed widths on the <td>s.
deceze
2010-07-17 03:06:59
@deceze, true... you just avoid the pre-calculation of the whole page, but introduce the non-semantic table concept..
Gaby
2010-07-17 12:16:37