Jump to content

Recommended Posts

Posted

I've been going insane trying to come up with a three-column blog. The blog I am working on it at http://www.eatitandloveit.com . I'd like to have two small columns on each side and the content in the middle. I would want each column to be about 3/4 of the size of the current left column. I've read every tutorial I can find on the Internet, and I keep ending up with totally screwed up jumpled up things, both the left and right columns on one side, or like this:

right

center

left

 

Any tips on how I can do this??? I appreciate all of your help here - you guys really are excellent!!!

 

Stylesheet:

>body {
margin: 0px 0px 20px 0px;
background-color: #fff;
text-align: center;
}

a {
text-decoration: underline;
color:#444;
}

a:hover {
color: #999;
}

h1, h2, h3 {
margin: 0px;
padding: 0px;
font-weight: normal;
}

#container {
line-height: 140%;
text-align: left;
padding: 0px;
width: 100%;
background-color: #fff;
}

#banner {
font-family: Verdana, Arial, sans-serif;
color: #fff;

background-color:#006;
text-align: left;
padding-bottom: 2px;
padding-left: 15px;
border-bottom: 1px solid #666;
}

#banner-img {
display: none;
}

#banner a {
color: #fff;
text-decoration: none;
}

#banner h1 {
font-size: 95%;
display: inline;
padding-right: 10px;
font-weight: bold;
}

#banner h2 {
font-size: x-small;
display: inline;
padding-left: 10px;
border-left: 5px solid #fff;
}

#center {
float: right;
width: 73%;
overflow: hidden;
}

.content {
padding: 15px 15px 5px 15px;
background-color: #fff;
color: #666666;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
}

#right {
float: left;
width: 25%;
background-color: #fff;
overflow: hidden;
}

.content p {
color: #333;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
font-weight: normal;
line-height: 150%;
text-align: left;
margin-bottom: 10px;
padding-left: 15px;
}

.content blockquote {
line-height: 150%;
color: #333;
background: #f8f8f8;
border: 1px solid #006;
padding: 5px;
}

.content li {
line-height: 150%;
}

.content h2 {
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
text-align: left;
font-weight: bold;
margin-bottom: 18px;
border-left: 5px solid #006;
padding-left: 5px;
background: #f1f1f1;
}

.content h3 {
color: #333;
font-family: Verdana, Arial, sans-serif;
font-size: small;
text-align: left;
font-weight: bold;
margin-bottom: 10px;
}

.content p.posted {
color: #333;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
border-top: 1px solid #ccc;
text-align: left;
margin-bottom: 25px;
line-height: normal;
padding: 3px;
padding-left: 10px;
}

.sidebar {
color: #333;
padding: 0px 20px 10px 25px !important;
padding: 15px 20px 10px 25px;
background-color: #fff;
border-right: 1px solid #aaa;
}

#calendar {
 line-height: 140%;
color: #333;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
 padding: 2px;
text-align: center;
margin: 0px -10px 10px -10px;
}

#calendar table {
padding: 2px;
border-collapse: collapse;
border: 0px;
width: 100%;
}

#calendar caption {
font-family: Verdana, Arial, sans-serif;
color: #333;
font-size: x-small;
text-align: center;
font-weight: bold;
margin: 20px auto 10px -10px;
border: 2px solid #009;
padding-left: 5px;
background: #f1f1f1;

padding: 3px;
}

.sidebar h2 {
font-family: Verdana, Arial, sans-serif;
color: #333;
font-size: x-small;
text-align: left;
font-weight: bold;
margin: 20px auto 10px -10px;
border-right: 5px solid #006;
border-bottom: 1px solid #006;
padding-left: 5px;
background: #f1f1f1;
}

#calendar th {
text-align: center;
font-weight: normal;
}

#calendar td {
text-align: center;
}

.sidebar ul {
padding-left: 10px;
margin: 0px;
margin-bottom: 30px;
}

.sidebar li {
color: #666666;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
text-align: left;
line-height: 120%;
margin-top: 2px;
list-style-type: none;
}

.sidebar img {
border: 3px solid #fff;
}

.photo {
text-align: left;
margin-bottom: 20px;
}

.link-note {
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
line-height: 150%;
text-align: left;
padding: 2px;
margin-bottom: 15px;
}

#powered {
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
line-height: 150%;
text-align: left;
color: #666666;
margin-top: 50px;
}

#comment-data {
float: left;
width: 180px;
padding-right: 15px;
margin-right: 15px;
text-align: left;
border-right: 1px dotted #BBB;
}

textarea[id="comment-text"] {
width: 80%;
}

 

Main Index:

><!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">
<h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1>
<h2><$MTBlogDescription$></h2>
</div>

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

<h3>Latest Reviews</h3>
<MTEntries lastn="10">
<$MTEntryTrackbackData$>

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

<h3 id="a<$MTEntryID pad="1"$>"><$MTEntryTitle$></h3>

<$MTEntryBody$>

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

<p class="posted">Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X"$></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">
<?php include "http://www.eatitandloveit.com/sidebar.php"; ?> 
</div>
</div>

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

</div>

</body>
</html>

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...