You are not logged in.
I quite don’t know how to word this for searching. I want to make two posts (or more) on the front page center section, side by side like newspaper columns instead of each post vertically like the typical blog does.
Thanks…oddcarl
Offline
<div id="content">
<div class="col a">
<txp:article limit="1" />
</div>
<div class="col b">
<txp:article limit="1" offset="1" />
</div>
<div class="col c">
<txp:article limit="1" offset="2" />
</div>
</div>
CSS:
#content {
width: 720px;
overflow: hidden; /* Clears floats */
}
.col {
width: 200px;
padding: 0 40px;
float: left;
}
Offline
Thank you very much, I can’t wait to try it out.
Offline
Hello,
I’d rather use a Percent-Value for one (normaly the Main-Content) Block, so the Width is fitted into the Browserwindow:
CSS:
#content { width: 100%; <—- use Percent here to auto maintain Width with Windows size
overflow: hidden; /* Clears floats */
}
.col {
width: 200px;
padding: 0 40px;
float: left;
}
U should set the Width to a percent for the Block wich should be resized automatically (You can resize both, but normally, resizing the Menu is not wanted)
Greetings, Küchi
Last edited by kuechi (2006-11-06 02:39:38)
Offline
Thanks kuechi, I’ll play with the changes.
Offline
I have kind of a similar problem as oddcarl.
I have 3 columns. The one at the left shows recent my posts, the right one shows my links. Now I would like the centered column show some specific posts, for example all my posts about videogames or music.
Is that possible?
Offline
overflow: hidden; /* Clears floats */
What? What is this? Why I didn’t ever hear about this trick?
I think it’s explained here but in that explanation they use overflow: auto;
I would like to know more about this method…
Last edited by maniqui (2006-12-03 22:33:01)
Offline
I’m really amazed.
Offline