View Full Version : divs and movable type


freakEgurl
05-22-2005, 10:05 PM
So, i have a blog, and I want to have whatever is quoted to be different in style. And I want it to be included in the style sheet, so i dont have to go back to every entery to change every time i change the layout.


I use Movable type 3.something. The style I use in MT doesnt work like i want it to, but it works if it put it in a page thats not in MT. Whats inside the div that i made to be a quote, MT ignores formatting for the little part that it works for. basically, it does the colour and stuff only for the paragraph or line. I think one of the MT styles isnt liking my div, or something

so anyway, im using one of my enteries that has part that needs to be quoted, > http://seven.dead-teddybears.com/archives/2005/05/hatemail_is_my.html

this is the full style sheet > http://seven.dead-teddybears.com/styles-site.css


And, main index template, if it helps

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
<meta name="generator" content="http://www.movabletype.org/" />

<title><$MTBlogName encode_html="1"$></title>

<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
<link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="<$MTBlogURL$>index.rdf" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" />

<MTBlogIfCCLicense>
<$MTCCLicenseRDF$>
</MTBlogIfCCLicense>

</head>

<body>

<div id="container">

<div id="banner">
<img src = "http://seven.dead-teddybears.com/img/711.gif">
</div>

<div id="center">
<div class="content">

<MTEntries lastn = "20">
<$MTEntryTrackbackData$>

<MTDateHeader>
<h2><$MTEntryDate format="%x" upper_case="1"$></h2>
</MTDateHeader>

<h3 id="a<$MTEntryID pad="1"$>"><font face = "garamond" size = "5" color = "#cdcdcd"><$MTEntryTitle lower_case="1"$></font></h3>
CATAGORIES : <MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel upper_case="1"$></a>
</MTEntryCategories>

<$MTEntryBody$>

<MTEntryIfExtended>
<p class="extended"><a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></p>
</MTEntryIfExtended>

<p class="posted"><small>POSTED BY <$MTEntryAuthor upper_case="1"$> AT <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X" upper_case="1"$></small></a>
<MTEntryIfAllowComments>
| <a href="<$MTEntryPermalink archive_type="Individual"$>#comments">Comments (<$MTEntryCommentCount$>)</a>
</MTEntryIfAllowComments>
<MTEntryIfAllowPings>
| <a href="<$MTEntryPermalink archive_type="Individual"$>#trackbacks">TrackBack (<$MTEntryTrackbackCount$>)</a>
</MTEntryIfAllowPings>
</p>

</MTEntries>

</div>
</div>

<div id="right">
<div class="sidebar">

<h2>Girl</h2>

<div id="girl" align = "justify">My name is lis. I am 15, live in Calgary, and am very uninteresting. I like photography, cats and birds. Im a vegetarian, but I don't eat many vegatables. I like to make wierd noises at random. I should also mention that I'm very rude and that you should aviod talking to me, for many reasons. Unless you want to. Then Im not stopping you. <a href = "http://seven.dead-teddybears.com/archives/2005/03/fanlistings_joi.html"><3 FLs</a></div>


<div id="calendar" align = "center">

<table summary="Monthly calendar with links to each day's posts">
<caption><$MTDate format="%B %Y"$></caption>
<tr>
<th abbr="Sunday">Sun</th>
<th abbr="Monday">Mon</th>
<th abbr="Tuesday">Tue</th>
<th abbr="Wednesday">Wed</th>
<th abbr="Thursday">Thu</th>
<th abbr="Friday">Fri</th>
<th abbr="Saturday">Sat</th>
</tr>

<MTCalendar>
<MTCalendarWeekHeader><tr></MTCalendarWeekHeader>

<td><MTCalendarIfEntries><MTEntries lastn="1"><a href="<$MTEntryPermalink$>"><$MTCalendarDay$></a></MTEntries></MTCalendarIfEntries><MTCalendarIfNoEntries><$MTCalendarDay$></MTCalendarIfNoEntries><MTCalendarIfBlank>&nbsp;</MTCalendarIfBlank></td><MTCalendarWeekFooter></tr></MTCalendarWeekFooter>
</MTCalendar>

</table>
</div>

<h2>Search</h2>

<div class="link-note">
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>">
<input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" />
<label for="search" accesskey="4">Search this site:</label><br />
<input id="search" name="search" size="20" /><br />
<input type="submit" value="Search" />
</form>
</div>

<div id="categories">
<h2>Categories</h2>

<MTSubCategories>
<MTSubCatIsFirst><ul></MTSubCatIsFirst>
<MTIfNonZero tag="MTCategoryCount">
<li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a>
<MTElse>
<li><MTCategoryLabel>
</MTElse>
</MTIfNonZero>
<MTSubCatsRecurse max_depth="3">
</li>
<MTSubCatIsLast></ul></MTSubCatIsLast>
</MTSubCategories>
</div>

<h2>Archives</h2>

<ul>
<MTArchiveList archive_type="Monthly">
<li><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a></li>
</MTArchiveList>
</ul>

<h2>Recent Entries</h2>

<ul>
<MTEntries lastn="10">
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</ul>



<MTBlogIfCCLicense>
<div class="link-note">
<a href="<$MTBlogCCLicenseURL$>"><img alt="Creative Commons License" src="<$MTBlogCCLicenseImage$>" /></a><br />
This weblog is licensed under a <a href="<$MTBlogCCLicenseURL$>">Creative Commons License</a>.
</div>
</MTBlogIfCCLicense>

<h2>PHOTOS</h2>

<div id="girl" align = "justify">


<!-- deviantART Pastie Beginning Marker -->
<script type="text/javascript" src="http://backend.deviantart.com/pasties/js/?iam=alienateme&amp;key=e14c570fd4&amp;filter=mine&amp;stream= recent&amp;limit=5&amp;ori=v&amp;size=large"></script>
<!-- deviantART Pastie Ending Marker -->
</div>
<h2>CONTACT</h2>

<div id="girl" align = "justify">
<a href = "mailto:burnthisgirl@DELETETHISgmail.com">email</a><BR>
<a href="aim:goim?screenname=xx+side+my+mind&message=lis,+you+really+suck">AIM</a><BR>
<a href = "http://seven.dead-teddybears.com/archives/2005/03/link_exachnges.html">
Link exchanges?</a></div>

<div id="powered">
Powered by<br /><a href="http://www.movabletype.org" target = "_blank">Movable Type <$MTVersion$></a><br />
Hosted by<Br><a href = "http://dead-teddybears.com" target = "_blank">Dead-TeddyBears.com</a>
</div>


<div id="girl" align = "justify"><P>&nbsp;<P>
All content and graphics, unless otherwise stated, belong to lis. If you're gonne steal something, steal something thats actually worth stealing, as in something that's NOT on this site.
</div>
</div>
</div>

<div style="clear: both;"> </div>

</div>

</body>
</html>

freakEgurl
05-23-2005, 01:04 AM
k, i was right - it like, contradicted this


.content p {
color: #666666;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
font-weight: normal;
line-height: 170%;
text-align: justify;
margin-bottom: 10px;
}


anyway to make content p thing not apply to my quote thing?