...

View Full Version : How to delete lines and extra white space? CSS/HTML



Anahita
11-07-2012, 11:19 PM
Hey all,

I don't know if this is a CSS or HTML issue. I edited a website template and have everything I don't want in there gone, EXCEPT for two faint gray lines and extra white space on the bottom.

Can someone help me figure out what code needs to be edited in order to remove these issues?

The HTML code and CSS code are below, and I've attached a screen shot of the page.

HTML code:


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

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>First Annual Florida Permaculture Convergence: January 11th - 13th, 2013: Schedule</title>
<link href='http://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Abel' rel='stylesheet' type='text/css'>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<div id="header-wrapper" class="container">
<div id="header" class="container">
<div id="logo">
<h1><a href="#">January 11-13 2013</a></h1>
</div>
<div id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li class="current_page_item"><a href="about.html">About</a></li>
<li><a href="schedule.html">Schedule</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="directions.html">Directions</a></li>
<li><a href="register.html">Register</a></li>
</ul>
</div>
</div>
<div><img src="images/img03.png" width="1000" height="40" alt="" /></div>
</div>
<!-- end #header -->
<div id="banner">
<div class="content"><img src="images/img04.jpg" width="980" height="270" alt="" /></div>
<div><img src="images/img03.png" width="1000" height="40" alt="" /></div>
</div>
<div id="page">
<div id="content">
<div class="post">
<h2 class="title"><a href="#">Program Schedule</a></h2>

<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p><i>Please note that the current schedule is tentative. Final schedule & times will be confirmed the week of the convergence.</i>
<p><b><u>Friday, January 11th 2013</u></b><br>
- 3pm-6pm: Guests Arrive, Registration & Camp Set-up <br>
- ?: Building a Composting Toilet with Jungle Jay <br>
- ?: Setting Up an Outdoor Biochar Kitchen with Joe Pierce <br>
- ?: Wallaby Ranch Orientation & Nature Hike with Tia Meer <br>
<i>Lunch</i><br>
- 5pm-5:45pm: Garden Design Prep<br>
<i>Potluck Dinner</i>: 6pm<br>
- 9pm: Music by the Campfire<br>

<p><b><u>Saturday, January 12th 2013</u></b><br>
<i>Breakfast</i>: 8am<br>
- 9-10am: Setting Our Intentions with Judith Gulko<br>
- 10:30am-12:15pm: Group Discussion: "Permaculture in Florida - What's Going On & Where?"<br>
<i>Lunch</i>: 12:30pm-1:30pm<br>
- 1:45pm-3:30pm: Florida Plant Swap with Jason Long<br>
- 3:45pm-5:30pm: Garden Activity<br>
<i>Pizza Dinner in the Cob Oven</i>: 6pm<br>
- 9pm: Music by the Campfire<br>

<p><b><u>Sunday, January 13th 2013</u></b><br>
<i>Breakfast</i>: 8am<br>
- 10am-12pm: Group Discussion: “Permaculture in Florida - What’s Next?"<br>
<i>Lunch</i>: 12:30pm-1:30pm<br>
- 1:45-3:30: Garden Activity<br>
- 3:45-5:30pm: Closing Circle & Group Pictures<br>
<i>Dinner</i>: 6pm
<br><br>
<p><img src="images/img06.jpg" width="900" height="200" alt="" /></p>
</div>
</div>
<div class="post">

</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<!-- end #content -->

<!-- end #sidebar -->

<!-- end #page -->

<br><br>
</div>

</div>
<!-- end #footer -->
</body>
</html>


CSS Code:



/*

*/

body {
margin: 0;
padding: 0;
background: #C5DA99 url(images/img01.jpg) repeat;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #787878;
}

h1, h2, h3 {
margin: 0;
padding: 0;
text-transform: uppercase;
font-weight: normal;
font-family: 'Oswald', sans-serif;
font-weight: 200;
color: #79A62E;
}

h1 {
font-size: 2em;
}

h2 {
font-size: 2.8em;
}

h3 {
font-size: 1.6em;
}

p, ul, ol {
margin-top: 0;
line-height: 180%;
}

ul, ol {
}

a {
text-decoration: none;
color: #5E5E5E;
}

a:hover {
}

#wrapper {
padding-top: 50px;
}

.container {
width: 1000px;
margin: 0px auto;
}

/* Header */

#header-wrapper {
overflow: hidden;
height: 140px;
}

#header {
width: 900px;
height: 100px;
margin: 0 auto;
padding: 0px 50px;
background: #415C13 url(images/img02.jpg) repeat;
}

/* Logo */

#logo {
float: left;
width: 300px;
margin: 0;
padding: 0;
color: #FFFFFF;
}

#logo h1, #logo p {
}

#logo h1 {
line-height: 100px;
letter-spacing: -2px;
font-size: 2.8em;
}

#logo h1 a {
color: #FFFFFF;
text-shadow: 1px 1px 0px rgba(0,0,0,.2);
}

#logo p {
margin: 0;
padding: 0px 0 0 0px;
letter-spacing: -1px;
font: normal 18px Georgia, "Times New Roman", Times, serif;
font-style: italic;
color: #8E8E8E;
}

#logo p a {
color: #8E8E8E;
}

#logo a {
border: none;
background: none;
text-decoration: none;
color: #000000;
}

/* Splash */

#splash {
width: 960px;
height: 300px;
margin: 0px auto;
}

/* Search */

#search {
float: right;
width: 280px;
height: 60px;
padding: 20px 0px 0px 0px;
}

#search form {
height: 41px;
margin: 0;
padding: 10px 0 0 20px;
}

#search fieldset {
margin: 0;
padding: 0;
border: none;
}

#search-text {
width: 170px;
padding: 6px 5px 2px 5px;
border: 1px solid #E7EBED;
background: #FFFFFF;
text-transform: lowercase;
font: normal 11px Arial, Helvetica, sans-serif;
color: #5D781D;
}

#search-submit {
width: 50px;
height: 22px;
border: none;
background: #B9B9B9;
color: #000000;
}

/* Menu */

#menu {
float: right;
width: 600px;
height: 100px;
margin: 0 auto;
padding: 0;
}

#menu ul {
float: right;
margin: 0;
padding: 0px 0px 0px 0px;
list-style: none;
line-height: normal;
}

#menu li {
float: left;
}

#menu a {
display: block;
line-height: 100px;
margin-right: 1px;
padding: 0px 20px 0px 20px;
text-decoration: none;
text-align: center;
text-shadow: 1px 1px 0px rgba(0,0,0,.2);
text-transform: uppercase;
font-family: 'Abel', sans-serif;
font-size: 16px;
font-weight: 300;
color: #FFFFFF;
border: none;
}

#menu a:hover, #menu .current_page_item a {
text-decoration: none;
color: #FFFFFF;
}

#menu .current_page_item a {
}

/* Page */

#page {
width: 900px;
margin: 0 auto;
padding: 30px 50px;
background: #FFFFFF;
}

/* Content */

#content {
float: left;
width: 900px;
padding: 0px 0px 0px 0px;
}

.post {
overflow: hidden;
margin-bottom: 40px;
border-bottom: 1px solid #E7EBED;
}

.post .title {
padding: 7px 0px 0px 0px;
letter-spacing: -1px;
}

.post .title a {
border: none;
color: #79A62E;
}

.post .meta {
margin-bottom: 30px;
padding: 10px 0px 0px 0px;
text-align: left;
font-family: 'Abel', sans-serif;
font-size: 16px;
font-weight: 300;
}

.post .meta .date {
float: left;
}

.post .meta .posted {
float: right;
}

.post .meta a {
}

.post .entry {
padding: 0px 0px 40px 0px;
text-align: justify;
}

.links {
padding-top: 20px;
margin-bottom: 30px;
}

.more {
display: block;
float: left;
width: 88px;
height: 25px;
padding: 2px 0px 0px 0px;
margin-right: 10px;
background: url(images/img08.jpg) no-repeat left top;
text-align: center;
}

.comments {
display: block;
float: left;
width: 88px;
height: 25px;
padding: 2px 0px 0px 0px;
background: url(images/img08.jpg) no-repeat left top;
text-align: center;
}

/* Sidebar */

#sidebar {
float: right;
width: 270px;
margin: 0px;
padding: 30px 0px 0px 0px;
}

#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}

#sidebar li {
margin: 0;
padding: 0;
}

#sidebar li ul {
margin: 0px 0px;
padding-bottom: 30px;
}

#sidebar li li {
line-height: 40px;
border-bottom: 1px solid #E7EBED;
margin: 0px 0px;
border-left: none;
}

#sidebar li li span {
display: block;
margin-top: -20px;
padding: 0;
font-size: 11px;
font-style: italic;
}

#sidebar li li a {
padding: 0px 0px 0px 0px;
}

#sidebar h2 {
height: 38px;
padding: 0px 0px 30px 0px;
letter-spacing: -.5px;
font-size: 1.8em;
color: #339900;
}

#sidebar p {
margin: 0 0px;
padding: 0px 30px 20px 30px;
text-align: justify;
}

#sidebar a {
border: none;
}

#sidebar a:hover {
text-decoration: underline;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
padding: 20px;
}

#calendar table {
width: 100%;
}

#calendar tbody td {
text-align: center;
}

#calendar #next {
text-align: right;
}

/* Three Column Footer Content */

#footer-content {
color: #D6E2F0;
}

#footer-content a {
color: #fff;
}

#footer-bg {
overflow: hidden;
width: 890px;
padding: 30px 55px 50px 55px;
}

#footer-content h2 {
margin: 0px;
padding: 0px 0px 00px 0px;
letter-spacing: -1px;
text-transform: lowercase;
font-size: 26px;
color: #FFFFFF;
}

#footer-content ul {
margin: 0px;
padding: 0px 0px 0px 20px;
}

#footer-content a {
}

#column1 {
float: left;
width: 290px;
margin-right: 30px;
}

#column2 {
float: left;
width: 280px;
}

#column3 {
float: right;
width: 260px;
}

/* Footer */

#footer {
height: 100px;
margin: 0 auto;
padding: 0px 0 15px 0;
font-family: 'Abel', sans-serif;
}

#footer p {
margin: 0;
padding-top: 10px;
letter-spacing: 1px;
line-height: normal;
font-size: 14px;
text-transform: uppercase;
text-align: center;
color: #527800;
}

#footer a {
color: #527800;
}

#marketing {
overflow: hidden;
margin-bottom: 30px;
padding: 20px 0px 10px 0px;
border-top: 1px solid #E7EBED;
border-bottom: 1px solid #E7EBED;
}

#marketing .text1 {
float: left;
margin: 0px;
padding: 0px;
letter-spacing: -2px;
text-transform: lowercase;
font-size: 34px;
color: #345E9B;
}

#marketing .text2 {
float: right;
}

#marketing .text2 a {
display: block;
width: 252px;
height: 38px;
padding: 15px 0px 0px 0px;
background: url(images/img07.jpg) no-repeat left top;
letter-spacing: -2px;
text-align: center;
text-transform: lowercase;
font-size: 30px;
color: #FFFFFF;
}

#banner {
margin: 0px auto;
width: 1000px;
}

#banner .content {
padding: 10px;
background: #FFFFFF;
}


Any and all help is greatly appreciated!!! Thank you!

Excavator
11-07-2012, 11:48 PM
Hello Anahita,
Look here in your CSS -
.post {
border-bottom: 1px solid #E7EBED;
margin-bottom: 40px;
overflow: hidden;
}

Anahita
11-11-2012, 04:05 AM
Thank you so much for your help, Excavator :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum