I’ve been trying to figure this out, but couldn’t get david’s suggestion to work. It ended up putting a div around each post, not one div around all the posts in a day. I had already reached that same result by simply putting div tags in the loop. Any other ideas?
Thinking laterally would you mind if I asked what you would like to do in the new div ?
.post {
border: 1px solid #ff0000;
}
That work ?
I have been thinking about this in a semantic way. Unless you have some fiendishly sophisticated wizardry in mind I would have thought that with imaginative use of bg color, margins and borders it is very simple to group posts by date without adding a further div to the mark up at all. Just my 2c.
Old, old code…try this:
.storyContent {
font-size:11px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0px 0px 0px 350px;
padding:11px;
color:#000;
background-color:#ffffff;
width: 400px;
border: 1px ridge #000;
}