I have three blogs on one page. I'm using PHP. One blog occupies the entire left column. The other two are in the right column. Check it out
My questions are:
1. Can I tell MT to put a fixed amount of space between entries? Specifically, I'd like less space in between entries in the right column?
2. Why do my divs flow into one another when I have MT tags in them?
Okay, so here are the details:
The left-column blog is the main blog, and the right column contains PHP includes (?) ...
CODE
<div class="sidebaritemlight">
<div class="sectiontitle">list-o-matic</div>
<? include('/home/WWW_pages/dlemoine/list/index.html'); ?>
</div>
<div class="sidebaritemlight">
<div class="sectiontitle">literary accessories</div>
<? include('/home/WWW_pages/dlemoine/reading/index.html'); ?>
</div>
<div class="sectiontitle">list-o-matic</div>
<? include('/home/WWW_pages/dlemoine/list/index.html'); ?>
</div>
<div class="sidebaritemlight">
<div class="sectiontitle">literary accessories</div>
<? include('/home/WWW_pages/dlemoine/reading/index.html'); ?>
</div>
Both right-column blogs the same index structure, so here's the code of where they're coming from:
CODE
<div class="list">
<div class="lilcontain">
<MTEntries>
<span class="item"><$MTEntryBody$></span>
</MTEntries>
</div>
</div>
<div class="lilcontain">
<MTEntries>
<span class="item"><$MTEntryBody$></span>
</MTEntries>
</div>
</div>
And the styles, which are in the header of the index.
CODE
.list a:link {color: #000000;}
.list a:visited {color: #000000;}
.list a:hover {font-weight: bold; color: #000000;}
.list a:active {color: #000000;}
.lilcontain {
padding: 5px 5px 5px 5px;
}
.item {
font-family: Georgia, Times New Roman, Times, serif;
font-size: x-small;
line-height: 1.1;
}
.list a:visited {color: #000000;}
.list a:hover {font-weight: bold; color: #000000;}
.list a:active {color: #000000;}
.lilcontain {
padding: 5px 5px 5px 5px;
}
.item {
font-family: Georgia, Times New Roman, Times, serif;
font-size: x-small;
line-height: 1.1;
}
The styles in effect on the main blog page are:
CODE
.sidebaritemlight {
margin-bottom: 15px;
background-color: #eee;
}
.sectiontitle {
padding: 3px 3px 3px 10px;
border: 1px solid #ddd;
margin-bottom: 5px;
background-color: #fff;
font-family: Georgia, Times New Roman, Times, serif;
font-weight: bold;
font-size: x-small;
color: #666;
text-align: left
}
margin-bottom: 15px;
background-color: #eee;
}
.sectiontitle {
padding: 3px 3px 3px 10px;
border: 1px solid #ddd;
margin-bottom: 5px;
background-color: #fff;
font-family: Georgia, Times New Roman, Times, serif;
font-weight: bold;
font-size: x-small;
color: #666;
text-align: left
}
If I should include any more code, let me know, but hopefully this will be enough to start chipping away.
Thanks,
Doug