Jump to content

Recommended Posts

Posted (edited)

Hi All!

 

Well, I've hit a brick wall (think I've been looking at code WAY too much for the past few days), and for the life of me I can't figure this one out.

 

I have this really nice layout that I've been customizing for use with MT. Currently, I'm building in a test blog here, and aside from the individual entry archive, everything's been looking great.

 

The problem, far as I can tell, is something wonky in the sidebar, which is being generated uniformly across the blog by the "banner" module.

 

If you look at the rest of the site, you can tell where I WANT the comments stuff to go - and needless to say, it isn't partially in the sidebar.

 

So, here's the "Banner" module, which is also (as I said) being used by all the other pages on the blog:

 

></head>
<body><div id="wrapper"><div id="header"><ul id="nav">
<li id="current"><a href="http://www.closetdrama.com/mt/">journal</a></li>
<l><a href="http://www.closetdrama.com/bp/">blog</a></li>
<li><a href="http://www.closetdrama.com/mt/cast.html">cast</a></li>
<li><a href="http://www.closetdrama.com/mt/lists.html">lists</a></li>
<li><a href="http://www.closetdrama.com/mt/notify.html">notify</a></li>
<li><a href="http://www.closetdrama.com/mt/others.html">others</a></li>
<li><a href="mailto:closetdramatic@yahoo.com">contact</a></li></ul></div>

<h1>2005</h1>
<h2></h2><div id="sidebar"><a href="http://www.closetdrama.com/mt/about.html"><img src="angela.gif" alt="about angela" /></a>
<a href="http://www.closetdrama.com/mt/afgs.html"><img src="guitar.gif" alt="a few good songs" /></a>

<table border="0" cellspacing="3" cellpadding="0" summary="Monthly calendar">
<caption><$MTDate format="%B %Y"$></caption>
<tr>
<th abbr="Sunday" align="center">S</th>
<th abbr="Monday" align="center">M</th>
<th abbr="Tuesday" align="center">T</th>
<th abbr="Wednesday" align="center">W</th>
<th abbr="Thursday" align="center">T</th>
<th abbr="Friday" align="center">F</th>
<th abbr="Saturday" align="center">S</th>
</tr>
<MTCalendar>
<MTCalendarWeekHeader><tr></MTCalendarWeekHeader>
<td <MTCalendarIfToday>bgcolor="#EEEEEE"</MTCalendarIfToday> align="center">
<MTCalendarIfEntries><MTEntries lastn="1"><a href="<$MTEntryLink$>"><$MTCalendarDay$></a></MTEntries></MTCalendarIfEntries>
<MTCalendarIfNoEntries><$MTCalendarDay$></MTCalendarIfNoEntries>
<MTCalendarIfBlank> </MTCalendarIfBlank></td>
<MTCalendarWeekFooter></tr></MTCalendarWeekFooter>
</MTCalendar>
</table><br>

<p class="sidebar" align="left"><b>Archives by Month</b><br>
<MTArchiveList archive_type="Monthly"><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList><br>
<p class="sidebar" align="left"><b>Category Listings</b><br>
<MTCategories show_empty="1"><a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$>  (<$MTCategoryCount$>)</a><br>
</MTCategories>
</p>
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>">
<p class="sidebar">
<label for="search" accesskey="4">Search this site:</label><br />
<input id="search" name="search" size="15" style="background-color: #999999; color: #FFFFFF; border: 1px dashed #000000; " /><br />
<input type="submit" value="Search" style="background-color: #999999; color: #FFFFFF; border: 1px dashed #000000; " />
</form>
</p>
</p>

<p class="sidebar"><b>Design By:</b><br>
<a href="http://www.pureweb.ca">Jack Oiao</a> [at <a href="http://www.oswd.org">oswd</a>]</a><br>
<b>Hosting:</b><br>
<a href="http://www.totalchoicehosting.com/">Total Choice</a><br>
<b>Powered By:</b><br>
<a href="http://www.sixapart.com/movabletype/">MT 3.16</a></p></p>
</div>

 

If anyone can figure this out, I'd be very grateful. Also, if you think I've flipped my lid and there's NO WAY the problem's in the sidebar, let me know and I'll copy/paste the parts you need.

 

Thanks,

Angela

 

EDITED TO ADD:

When I look at the main page, there's no margin problems. And, since it's running off the same module, that kind of rules out the idea that the problem is there. Hence, here's the code from the individual entry archive, starting with the comment code:

 

><hr style="border: 1px dashed #73717D" color="#A09AA5">

<MTEntryIfAllowPings>
| <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>"
onclick="OpenTrackback(this.href); return false">Trackbacks</a>
(<$MTEntryTrackbackCount$>)
<MTPings lastn="15">
</p>
<ul>
 <li>
   <p class="content"><$MTPingBlogName$> linked with <a href="<$MTPingURL$>"><$MTPingTitle$></a>
</MTPings>
</MTEntryIfAllowPings>
<br /></p>
</ul>

<MTEntryIfAllowComments>


<p class="content" align="left"><a name="comments"></a>You Said</p>
<p class="content">
<MTComments>
<$MTCommentBody$>Says: <b> <$MTCommentAuthorLink spam_protect="1"$></b> at <$MTCommentDate$>
<hr color="#FFFFFF">
</MTComments>
<MTEntryIfCommentsOpen>

<div class="content">
<p class="title" align="left"><b><u>Post a comment</u></b></p>
<form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

<p class="content">
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />

<div style="width:180px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
   <p class="content">
	 <label for="author">Name:</label><br />
<input tabindex="1" id="author" name="author" size="20" style="background-color: #73717D; color: #FFFFFF; border: 1px dotted #000000; " /><br />

<label for="email">Email Address:</label><br />
<input tabindex="2" id="email" name="email" size="20" style="background-color: #706E7A; color: #FFFFFF; border: 1px dotted #000000; " /><br />

<label for="url">URL:</label><br />
<input tabindex="3" id="url" name="url" size="20" style="background-color: #73717D; color: #FFFFFF; border: 1px dotted #000000; " />

</div>

<div class="content">
Remember personal info?<br />
<input type="radio" id="bakecookie" name="bakecookie" value checked /><label for="bakecookie">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px" /><label for="forget">No</label><br style="clear: both;" />

<label for="text">Comments:</label><br />
<textarea tabindex="4" id="text" name="text" rows="5" cols="25" style="background-color: #73717D; color: #FFFFFF; border: 1px dotted #000000; "></textarea><br /><br />

<input type="button" onclick="window.close()" value=" Cancel " style="background-color: #78747E; color: #FFFFFF; border: 1px dotted #000000; " />
<input type="submit" name="preview" value=" Preview " style="background-color: #78747E; color: #FFFFFF; border: 1px dotted #000000; " />
<input style="font-weight: bold; background-color: #797582; color: #FFFFFF; border: 1px dashed #000000; " type="submit" name="post" value=" Post " /><br /><br />

</div>

<p><br /><br />

</p>
<input type="hidden" name="static" value="1" /><input type="hidden" name="entry_id" value="<$MTEntryID$>" />

</form>

<script type="text/javascript" language="javascript">
<!--
document.comments_form.email.value = getCookie("mtcmtmail");
document.comments_form.author.value = getCookie("mtcmtauth");
document.comments_form.url.value = getCookie("mtcmthome");
if (getCookie("mtcmtauth")) {
   document.comments_form.bakecookie[0].checked = true;
} else {
   document.comments_form.bakecookie[1].checked = true;
}
//-->
</script>
</div>
</MTEntryIfCommentsOpen>
</MTEntryIfAllowComments>
</html>

Edited by angela29
Posted

YAY! Finally had enough caffeine to fix it. Believe it or not, my whole mess was the result of a <body> tag that I SWEAR I'VE NEVER SEEN BEFORE IN MY LIFE, and have no idea where it came from.

 

So, thanks for looking everyone, and cheers!

Angela

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...